Skip to content

Commit

Permalink
Generate JVM 1.8 compatible binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsacha committed Feb 17, 2021
1 parent fe83e96 commit 30a801b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ fork := true

// add a JVM option to use when forking a JVM for 'run'
javaOptions ++= Seq("-Xmx2G", "-server")
javacOptions in(Compile, compile) ++= Seq("-Xlint")
javacOptions in(Compile, compile) ++= Seq(
"-Xlint",
"-target", "1.8",
"-source", "1.8"
)
javacOptions in(Compile, doc ) ++= Seq(
"-windowtitle", "IJP-ImageIO API v." + version.value,
"-header", "IJP-ImageIO API v." + version.value,
"-sourcepath", (baseDirectory.value / "src/main/java").getAbsolutePath,
"-subpackages", "net.sf.ij_plugins.imageio",
"-exclude", "net.sf.ij_plugins.imageio.impl:net.sf.ij_plugins.imageio.plugins",
"-subpackages", "ij_plugins.imageio",
"-exclude", "ij_plugins.imageio.impl:ij_plugins.imageio.plugins",
"-verbose"
)

Expand Down

0 comments on commit 30a801b

Please sign in to comment.