From a5a829f3cc9c5b8e12289f4e448863e168b2241b Mon Sep 17 00:00:00 2001 From: eikek Date: Wed, 16 Jun 2021 01:04:35 +0200 Subject: [PATCH] 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. --- build.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sbt b/build.sbt index 2cbf0eaa..90de2be1 100644 --- a/build.sbt +++ b/build.sbt @@ -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