diff --git a/gradle/java.gradle b/gradle/java.gradle index 0e50cbd09a..74a21df6bb 100644 --- a/gradle/java.gradle +++ b/gradle/java.gradle @@ -14,7 +14,7 @@ subprojects { compileJava { options.encoding = 'UTF-8' - options.compilerArgs << '-Xlint:none' << '-Xlint:deprecation' << '-Werror' + options.compilerArgs << '-Xlint:none' << '-Xlint:deprecation' << '-Werror' << '-parameters' if (JavaVersion.current().isJava9Compatible() && !project.hasProperty("edgeDepsTest")) { // https://stackoverflow.com/a/43103115/525203 options.compilerArgs.addAll(['--release', '8'])