Skip to content

Does Errorprone support android gradle projects? #91

Answered by tbroyer
vivian196167 asked this question in Q&A
Discussion options

You must be logged in to vote

There used to be code in the plugin to specifically support Android projects but I eventually removed it in version 3 as I could make sense of how things were moving on in AGP and how one was supposed to configure tasks with their new model.

There's a bit more context in https://github.com/tbroyer/gradle-errorprone-plugin/releases/tag/v3.0.0

TL;DR: JavaCompile tasks are enhanced to support ErrorProne, but one has to configure the dependencies and somehow enable ErrorProne on the tasks. I have no idea how to do this though 🤷
I'm encouraging anyone to make an Android-specific plugin to complement this plugin and go that extra mile.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@tbroyer
Comment options

@tsniatowski
Comment options

@tbroyer
Comment options

@tbroyer
Comment options

@tsniatowski
Comment options

Answer selected by vivian196167
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #90 on September 26, 2023 21:42.