mirror of
https://github.com/lightbend/config.git
synced 2025-01-15 23:01:05 +08:00
Enforce that the build uses Java 8
This commit is contained in:
parent
f2aec60ff9
commit
0c229be607
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user