Skip to content

Commit

Permalink
Fix compilation for Java 9 source set
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-tkachenko-datadog committed Jun 25, 2024
1 parent d55642f commit 15b3ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/multi-release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ sourceSets {
java {
srcDir 'src/main/java9'
}
compileClasspath += sourceSets.main.output
}
}

compileJava9Java {
classpath += sourceSets.main.compileClasspath
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(9)
}
Expand Down

0 comments on commit 15b3ed0

Please sign in to comment.