Skip to content

Commit

Permalink
add-exports applied for java instead of javac
Browse files Browse the repository at this point in the history
  • Loading branch information
augi committed Aug 16, 2019
1 parent 30e155a commit c8e6bc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ lazy val scalaSettings = Seq(
scalacOptions += "-unchecked",
scalacOptions += "-feature",
scalacOptions += "-target:jvm-1.8",
javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "--add-exports", "java.management/sun.management=ALL-UNNAMED"),
javacOptions ++= Seq("-source", "1.8", "-target", "1.8"),
javaOptions ++= Seq("--add-exports", "java.management/sun.management=ALL-UNNAMED"),
crossScalaVersions := Seq("2.12.8", "2.13.0"),
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.8" % "test"
Expand Down

0 comments on commit c8e6bc6

Please sign in to comment.