Enforce that the build uses Java 8

This commit is contained in:
Havoc Pennington 2015-02-24 15:41:31 -05:00
parent f2aec60ff9
commit 0c229be607

View File

@ -22,7 +22,7 @@ findbugsMaxMemory := 1000
jacoco.settings
javacOptions in (Compile, compile) ++= Seq("-source", "1.6", "-target", "1.6", "-g")
javacOptions in (Compile, compile) ++= Seq("-source", "1.8", "-target", "1.8", "-g")
// because we test some global state such as singleton caches,
// we have to run tests in serial.
@ -30,4 +30,4 @@ parallelExecution in Test := false
sources in (Compile, doc) ~= (_.filter(_.getParentFile.getName != "impl"))
javaVersionPrefix in javaVersionCheck := Some("1.6")
javaVersionPrefix in javaVersionCheck := Some("1.8")