-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
AutoValue 1.7.1 Breaks Incremental Annotation Processing #844
Comments
Thanks for bringing this to our attention! Unfortunately we don't use Gradle internally, and AutoValue doesn't have proper test coverage for this area, so we missed this. I'm pretty sure the problem is that this new extension needs to have code like this. If you're able to test that by building a modified snapshot that would certainly be helpful. Meanwhile I'll look into how we could avoid problems like this in the future. |
Related: tbroyer/gradle-incap-helper#2 |
We can at least test that |
Since it is a built-in extension, and since AutoValue itself only describes itself as isolating if all extensions are, this omission meant that the presence of AutoValue disabled incremental builds in Gradle. Add a test to ensure that we don't forget this with future extensions. Fixes #844. RELNOTES=AutoValue is once again "isolating" for Gradle incremental compilation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=310610697
Since it is a built-in extension, and since AutoValue itself only describes itself as isolating if all extensions are, this omission meant that the presence of AutoValue disabled incremental builds in Gradle. Add a test to ensure that we don't forget this with future extensions. Fixes #844. RELNOTES=AutoValue is once again "isolating" for Gradle incremental compilation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=310610697
I've just released 1.7.2 which should fix this problem. Let me know if it doesn't. |
Awesome, will try it today 🤞
…On Wed, May 13, 2020 at 11:41 AM Éamonn McManus ***@***.***> wrote:
I've just released 1.7.2
<https://search.maven.org/artifact/com.google.auto.value/auto-value/1.7.2/jar>
which should fix this problem. Let me know if it doesn't.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#844 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKMJPU4LIJMURCEMZOZNZ3RRK5RJANCNFSM4MZIX6SA>
.
|
Sorry was late on this - did try and was resolved for us 👍 |
Since updating to 1.7.1, AutoValue no longer appears to report its correct incremental annotation processing type
Note that we see this for projects with extensions and projects with no extensions.
The text was updated successfully, but these errors were encountered: