Skip to content

Commit

Permalink
debug jdk options
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei.winitzki committed Nov 20, 2023
1 parent a9f94df commit 38fc746
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ val cbor3 = "io.bullet" %% "borer-core" % "1.8.0"

val curryhoward = "io.chymyst" %% "curryhoward" % "0.3.8"

val jdkModuleOptions: Seq[String] =
if (scala.sys.props.get("JDK_VERSION") exists (_ startsWith "8.")) Seq() else Seq("--add-opens", "java.base/java.util=ALL-UNNAMED")
lazy val jdkModuleOptions: Seq[String] = {
val options = if (scala.sys.props.get("JDK_VERSION") exists (_ startsWith "8.")) Seq() else Seq("--add-opens", "java.base/java.util=ALL-UNNAMED")
println(s"Additional JDK options: ${options.mkString(" ")}")
options
}

lazy val root =
(project in file(".")).settings(scalaVersion := scalaV, crossScalaVersions := Seq(scalaV), name := "scall-root").aggregate(scall_core, scall_testutils)
Expand Down

0 comments on commit 38fc746

Please sign in to comment.