Skip to content

Commit

Permalink
Update Play app and GitHub action to Java 11 (#1965)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Feb 9, 2024
1 parent cea402e commit 8e2feff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions web/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name := "lobid-resources-web"

version := "0.3.1-SNAPSHOT"

scalaVersion := "2.11.11"
scalaVersion := "2.11.12"

// used by the webhook listener invoking the ETL
unmanagedResourceDirectories in Compile += baseDirectory.value / "../src/main/resources/"
Expand All @@ -24,7 +24,7 @@ resolvers += "Local Maven Repository" at Path.userHome.asFile.toURI.toURL + ".m2

lazy val root = (project in file(".")).enablePlugins(PlayJava)

javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
javacOptions ++= Seq("-source", "11", "-target", "11")

import com.typesafe.sbteclipse.core.EclipsePlugin.EclipseKeys

Expand Down
2 changes: 1 addition & 1 deletion web/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.16
sbt.version=0.13.18

0 comments on commit 8e2feff

Please sign in to comment.