Compile the small number of java source files to java 8 target

Since scala also produces class files version 52, the few java files
should also be compiled into this format.
This commit is contained in:
eikek 2021-06-16 01:04:35 +02:00
parent 26265aeb39
commit a5a829f3cc

View File

@ -32,6 +32,7 @@ val sharedSettings = Seq(
"-Wvalue-discard",
"-Wnumeric-widen"
),
javacOptions ++= Seq("-target", "1.8", "-source", "1.8"),
LocalRootProject / toolsPackage := {
val v = version.value
val logger = streams.value.log