Enforce target to JDK7
This commit is contained in:
parent
3a71b06225
commit
be2ec9c901
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue