compileJava error: plug-in not found: ErrorProne
EmmanuelMess opened this issue · comments
Emmanuel commented
Running lint I get this error:
> Task :app:compileDebugJavaWithJavac FAILED
error: plug-in not found: ErrorProne
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
}
}
plugins {
id 'com.android.application'
id 'net.ltgt.errorprone' version '0.8'
}
android {
[...]
}
dependencies {
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
androidTestImplementation 'androidx.test:rules:1.1.1'
implementation 'androidx.annotation:annotation:1.0.2'
errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
}
Thomas Broyer commented
You're missing
errorprone ("com.google.errorprone:error_prone_core:2.3.3")
in your dependencies.