Enforce target to JDK7

This commit is contained in:
Taro L. Saito 2020-06-25 19:40:18 -07:00
parent 3a71b06225
commit be2ec9c901
No known key found for this signature in database
GPG Key ID: 42575E0CCD6BA16A
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@ pomExtra := {
scalaVersion in ThisBuild := "2.12.11"
javacOptions in (Compile, compile) ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation", "-source", "1.7", "-target", "1.7")
// For building jars for JDK7
javacOptions ++= Seq("-source", "1.7", "-target", "1.7")
javacOptions in (Compile, compile) ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation")
javacOptions in doc := {
val opts = Seq("-source", "1.6")