Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service loader file missing in error prone plugin #501

Open
gtoison opened this issue Nov 3, 2023 · 0 comments
Open

Service loader file missing in error prone plugin #501

gtoison opened this issue Nov 3, 2023 · 0 comments

Comments

@gtoison
Copy link

gtoison commented Nov 3, 2023

Error prone relies on the service loader mechanism to load plugin, the plugin's jar needs to contain a BugChecker file named:
META-INF\services\com.google.errorprone.bugpatterns.BugChecker

I think that since #471 the file is gone from the jar META-INF folder and the plugin is not picked up by error prone anymore.
Unless I misunderstood that file used to be generated using the annotation processor for @AutoService(BugChecker.class) here:

annotationProcessor deps.apt.autoService

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant