Use -source 1.6 for now, to avoid Java 8 syntactic sugar

We will still be able to use library types, but will keep
it a little easier to make a Java 7 branch this way.
This commit is contained in:
Havoc Pennington 2015-02-25 20:37:01 -05:00
parent 4822a44911
commit e72decad92

View File

@ -22,7 +22,7 @@ findbugsMaxMemory := 1000
jacoco.settings
javacOptions in (Compile, compile) ++= Seq("-source", "1.8", "-target", "1.8", "-g")
javacOptions in (Compile, compile) ++= Seq("-source", "1.6", "-target", "1.8", "-g")
// because we test some global state such as singleton caches,
// we have to run tests in serial.