We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38ccc57 commit 081c771Copy full SHA for 081c771
1 file changed
gradle/java_no_deps.gradle
@@ -37,6 +37,12 @@ if (applyCodeCoverage) {
37
sourceCompatibility = JavaVersion.VERSION_1_8
38
targetCompatibility = JavaVersion.VERSION_1_8
39
40
+java {
41
+ toolchain {
42
+ languageVersion = JavaLanguageVersion.of(8)
43
+ }
44
+}
45
+
46
// when building with Java 9+, lazily set compiler --release flag to match target
47
def skipSettingCompilerRelease = project.findProperty('skipSettingCompilerRelease')
48
if (!skipSettingCompilerRelease && JavaVersion.current().isJava9Compatible()) {
0 commit comments