Closed slandelle closed 1 year ago
Motivation:
We're generating -release 1.8 for Scala 3. 1.8 is an illegal value for the -release option.
-release 1.8
1.8
-release
Moreover, -release has been renamed into -java-output-version in Scala 3.1.2.
-java-output-version
Modifications:
-target
Result:
Correct compiler options with Scala 3.
Motivation:
We're generating
-release 1.8
for Scala 3.1.8
is an illegal value for the-release
option.Moreover,
-release
has been renamed into-java-output-version
in Scala 3.1.2.Modifications:
-target
if-release
is not supported-java-output-version
instead of-release
if Scala >+ 3.1.2Result:
Correct compiler options with Scala 3.