Skip to content

Commit c9f213c

Browse files
authored
Fix errorprone annotation processor classpath (#121)
The issue results in a missing `META-INF/services/com.google.errorprone.bugpatterns.BugChecker` file in the resulting binary which prevents the errorprone plugin from discovering the custom checks.
1 parent e28c854 commit c9f213c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/errorprone/errorprone.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ apply plugin: 'java-library'
1818
dependencies {
1919
implementation 'com.google.errorprone:error_prone_check_api:2.3.2'
2020
implementation 'com.google.auto.service:auto-service:1.0-rc4'
21+
annotationProcessor 'com.google.auto.service:auto-service:1.0-rc4'
2122

2223
testImplementation 'junit:junit:4.12'
2324
testImplementation 'com.google.errorprone:error_prone_test_helpers:2.3.1'

0 commit comments

Comments
 (0)