diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3e300da..83ac6853 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,19 +2,29 @@ name: Build on: push - jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - - name: Install metafacture-fix + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + - name: Install metafacture-core-5.4.1-rc3 + run: | + git clone https://github.com/metafacture/metafacture-core.git + cd metafacture-core + git checkout -b metafacture-core-5.4.1-rc3 + ./gradlew publishToMavenLocal + cd .. + - name: Install metafacture-fix snapshot run: | git clone https://github.com/metafacture/metafacture-fix.git cd metafacture-fix diff --git a/build.sbt b/build.sbt index d4c496e8..4c215d32 100644 --- a/build.sbt +++ b/build.sbt @@ -10,13 +10,13 @@ libraryDependencies ++= Seq( cache, javaWs, "com.typesafe.play" % "play-test_2.11" % "2.4.11", - "org.metafacture" % "metafacture-elasticsearch" % "5.3.1", - "org.metafacture" % "metafacture-io" % "5.3.1", - "org.metafacture" % "metafacture-strings" % "5.3.1", - "org.metafacture" % "metafacture-json" % "5.3.1", - "org.metafacture" % "metafacture-flux" % "5.3.1", - "org.metafacture" % "metafacture-triples" % "5.3.1", - "org.metafacture" % "metafacture-formatting" % "5.3.1", + "org.metafacture" % "metafacture-elasticsearch" % "metafacture-core-5.4.1-rc3", + "org.metafacture" % "metafacture-io" % "metafacture-core-5.4.1-rc3", + "org.metafacture" % "metafacture-strings" % "metafacture-core-5.4.1-rc3", + "org.metafacture" % "metafacture-json" % "metafacture-core-5.4.1-rc3", + "org.metafacture" % "metafacture-flux" % "metafacture-core-5.4.1-rc3", + "org.metafacture" % "metafacture-triples" % "metafacture-core-5.4.1-rc3", + "org.metafacture" % "metafacture-formatting" % "metafacture-core-5.4.1-rc3", "org.eclipse.emf" % "org.eclipse.emf.common" % "2.24.0", "org.metafacture" % "metafix" % "0.4.0-SNAPSHOT" exclude("org.eclipse.emf", "org.eclipse.emf.common"), "org.elasticsearch" % "elasticsearch" % "1.7.5" withSources(), @@ -30,6 +30,10 @@ libraryDependencies ++= Seq( "org.mockito" % "mockito-junit-jupiter" % "2.27.0" % "test" ) +dependencyOverrides ++= Set( + "org.antlr" % "antlr-runtime" % "3.2" +) + lazy val root = (project in file(".")).enablePlugins(PlayJava) javacOptions ++= Seq("-source", "1.8", "-target", "1.8")