Skip to content

Commit

Permalink
Support running on Java 8 #14
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsacha committed May 4, 2021
1 parent f236066 commit accae4d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ val commonSettings = Seq(
"-deprecation",
"-Xlint",
"-feature",
"-explaintypes",
"-explaintypes",
"-release", "8",
"-target:8"
),
Compile / doc / scalacOptions ++= Opts.doc.title("IJP Debayer2SX API"),
Compile / doc / scalacOptions ++= Opts.doc.version(_version),
Expand All @@ -45,7 +47,7 @@ val commonSettings = Seq(
case Some(path) => Seq("-diagrams", "-diagrams-dot-path", path, "-diagrams-debug")
case None => Seq.empty[String]
}),
javacOptions ++= Seq("-deprecation", "-Xlint"),
Compile / compile / javacOptions ++= Seq("-deprecation", "-Xlint", "-source", "1.8", "-target", "1.8"),
//
libraryDependencies ++= Seq(
"net.imagej" % "ij" % "1.53i",
Expand Down

0 comments on commit accae4d

Please sign in to comment.