Skip to content

Commit

Permalink
Migrate supported java version from 1.6 to 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
hamlin authored and luben committed Oct 18, 2023
1 parent 780994b commit b72307c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ libraryDependencies ++= Seq(
"org.scalatestplus" %% "scalacheck-1-17" % "3.2.17.0" % "test"
)

javacOptions ++= Seq("--release", "6", "-Xlint:unchecked")
javacOptions ++= Seq("--release", "8", "-Xlint:unchecked")

doc / javacOptions := Seq("--release", "6")
doc / javacOptions := Seq("--release", "8")

// fork := true
// Check at runtime for JNI errors when running tests
Expand Down Expand Up @@ -210,7 +210,7 @@ OsgiKeys.privatePackage := Seq(
)
// Explicitly specify the version of JavaSE required
// (rather depend on figuring that out from the JDK it was built with)
OsgiKeys.requireCapability := "osgi.ee;filter:=\"(&(osgi.ee=JavaSE)(version>=1.6))\""
OsgiKeys.requireCapability := "osgi.ee;filter:=\"(&(osgi.ee=JavaSE)(version>=1.8))\""

// Jacoco coverage setting
jacocoReportSettings := JacocoReportSettings(
Expand Down

0 comments on commit b72307c

Please sign in to comment.