-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
NullAway not recognized as an EP option in Android Gradle Plugin 3.x #25
Comments
Commented on the repro branch, but the configuration needs to be inside |
Updated the branch, still doesn't work even if it's put in an afterEvaluate block |
Also - I think without |
@hzsweers do we need to update the description here? Or is there actually no bug? |
Need to update the description for nullaway. First party EP checks work, NullAway doesn't it seems :| |
As a hack you can try passing |
Alright I'll check and report back |
@hzsweers any update here? |
Sorry forgot about this, I'll try today |
@hzsweers ping |
@hzsweers when I try to build your repro branch by running
How can I reproduce the problem? |
Remove the deprecated line from ~/.gradle/gradle.properties, you probably have it from one of our old intelliJ plugins :| Sorry I forgot about this. Let me know if you want me to look again |
So I fixed my gradle.properties and re-ran |
@hzsweers gonna close this out for housekeeping purposes, but please re-open if you manage to repro |
Update - finally discovered the issue. It was not being added before because I didn't have it specified on |
Happy to accept a README PR to help folks who want to run NullAway on their (Android) test code |
Repro branch can be found here - https://github.com/uber/AutoDispose/tree/z/agp3testing1orchestrator
Compiling the arch components artifact will give an error that
NullAway
is not a recognized argument. Not sure if something changed with how this is handled as far as compiler args go in 3.x, but we should provide some guidance on this.CC @kageiit
The text was updated successfully, but these errors were encountered: