Skip to content

Service loader file missing in error prone plugin #501

Description

@gtoison

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions