Skip to content
Discussion options

You must be logged in to vote

From the README:

  • “This plugin creates a configuration named errorprone, and configures the <sourceSet>AnnotationProcessor configuration for each source set to extend it.” → the source sets with AGP aren't the same, so no configuration is configured to extend the errorprone configuration
  • “Note that this plugin only enables Error Prone on tasks for source sets” → again, no source set so Error Prone is disabled

So you'd want to follow the “If you're creating custom compile tasks, then you'll have to configure them manually to enable Error Prone” instructions then, or equivalent (AGP creates its own JavaCompile tasks, unrelated to source sets, so considered "custom" here). That's what is me…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #79 on June 15, 2023 13:05.