Skip to content

Commit

Permalink
Merge pull request #25912 Adapt Scala - Java compatibility
Browse files Browse the repository at this point in the history
Scala 2.12 really can't emit bytecode higher than Java 8 level. Aligning Scala 2.11 to that as well.
See #19456

Issue #23488

Co-authored-by: Louis Jacomet <louis@gradle.com>
  • Loading branch information
bot-gradle and ljacomet committed Jul 26, 2023
2 parents 563956a + 0e127cb commit c48101d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import org.gradle.api.JavaVersion
class ScalaCoverage {

private static final Map<String, JavaVersion> SCALA_2_VERSIONS = [
"2.11.12": JavaVersion.VERSION_1_9,
"2.12.18": JavaVersion.VERSION_20,
"2.11.12": JavaVersion.VERSION_1_8,
"2.12.18": JavaVersion.VERSION_1_8,
"2.13.11": JavaVersion.VERSION_20,
]
private static final Map<String, JavaVersion> SCALA_3_VERSIONS = [
Expand Down

0 comments on commit c48101d

Please sign in to comment.