Skip to content

Commit 64c7cbf

Browse files
committed
Update build.sbt
1 parent 156d18d commit 64c7cbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,11 @@ scalacOptions ++= {
8181
} else {
8282
Seq.empty[String]
8383
}
84-
Seq("-deprecation", "-unchecked", "-feature") ++ additionalSettings
84+
Seq("-release", "8", "-deprecation", "-unchecked", "-feature") ++ additionalSettings
8585
}
8686

87+
javacOptions ++= Seq("--release", "8")
88+
8789
// Temporarily disable warnings as error since SerializationFeature.WRITE_NULL_MAP_VALUES has been deprecated
8890
// and we use it.
8991
//scalacOptions in (Compile, compile) += "-Xfatal-warnings"

0 commit comments

Comments
 (0)