diff --git a/build.gradle b/build.gradle index 6468f50dd3c..6edb0aefd8a 100644 --- a/build.gradle +++ b/build.gradle @@ -81,8 +81,8 @@ subprojects { [compileJava, compileTestJava]*.options*.compilerArgs = ["-Xlint:none", "-nowarn"] - sourceCompatibility = 1.11 - targetCompatibility = 1.11 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 test { maxParallelForks = 1