diff --git a/gradle/java.gradle b/gradle/java.gradle index 80ccb7e62409..3c87da682fff 100644 --- a/gradle/java.gradle +++ b/gradle/java.gradle @@ -39,8 +39,8 @@ if (project.hasProperty("minJavaVersionForTests")) { } java { - sourceCompatibility = JavaVersion.toVersion(project.ext.release) - targetCompatibility = JavaVersion.toVersion(project.ext.release) +// sourceCompatibility = JavaVersion.toVersion(project.ext.release) +// targetCompatibility = JavaVersion.toVersion(project.ext.release) toolchain { languageVersion = JavaLanguageVersion.of(Math.max(project.ext.release.majorVersion.toInteger(), DEFAULT_JAVA_VERSION))