Try setting javacOptions scope

This commit is contained in:
Taro L. Saito 2020-08-25 21:06:38 -07:00
parent 0a7f5b3b4f
commit 6cbc623c96
No known key found for this signature in database
GPG Key ID: 42575E0CCD6BA16A

View File

@ -20,7 +20,7 @@ developers := List(
scalaVersion in ThisBuild := "2.12.11"
// For building jars for JDK7
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
javacOptions in ThisBuild ++= Seq("-source", "1.8", "-target", "1.8")
javacOptions in (Compile, compile) ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation")
javacOptions in doc := {