diff --git a/build.gradle b/build.gradle index 3f958cafd8a..53db391735e 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