Error-prone 2.4.0
@@ -66,13 +66,11 @@ subprojects {
task.targetCompatibility = JavaVersion.VERSION_1_8
}
- // Error-prone only works on JDK 11 or older currently.
- if (!Jvm.current().javaVersion.isJava12Compatible()) {
apply plugin: 'net.ltgt.errorprone'
dependencies {
errorproneJavac 'com.google.errorprone:javac:9+181-r4173-1'
- errorprone 'com.google.errorprone:error_prone_core:2.3.3'
+ errorprone 'com.google.errorprone:error_prone_core:2.4.0'
}
tasks.withType(JavaCompile).configureEach { task ->
@@ -86,7 +84,6 @@ subprojects {
check('UnusedVariable', CheckSeverity.ERROR)
}
}
- }
plugins.withId('java-library') {
// Animal Sniffer only works on JDK 11 or older currently.
