release flag 11 instead of 9, #26381
Otherwise there are compilation errors for the CompileJdk9 sources in some environments
This commit is contained in:
parent
ea8e3ace33
commit
cd52f05d3c
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ object Jdk9 extends AutoPlugin {
|
|||
(Compile / sourceDirectory).value / SCALA_SOURCE_DIRECTORY,
|
||||
(Compile / sourceDirectory).value / JAVA_SOURCE_DIRECTORY
|
||||
))),
|
||||
scalacOptions := AkkaBuild.DefaultScalacOptions ++ notOnJdk8(notOnScala211(scalaBinaryVersion.value, Seq("-release", "9"))),
|
||||
javacOptions := AkkaBuild.DefaultJavacOptions ++ notOnJdk8(notOnScala211(scalaBinaryVersion.value, Seq("--release", "9")))
|
||||
scalacOptions := AkkaBuild.DefaultScalacOptions ++ notOnJdk8(notOnScala211(scalaBinaryVersion.value, Seq("-release", "11"))),
|
||||
javacOptions := AkkaBuild.DefaultJavacOptions ++ notOnJdk8(notOnScala211(scalaBinaryVersion.value, Seq("--release", "11")))
|
||||
)
|
||||
|
||||
val compileSettings = Seq(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue