Fixed
Status Update
Comments
al...@google.com <al...@google.com> #2
Can you please triage this bug today Jerome?
Thanks!
ja...@gmail.com <ja...@gmail.com> #3
Looks like Jerome is OOO, so perhaps Ivan or Chris might be able to help triage this.
We are just hoping to identify the critical set of issues that need be fixed for AGP 8.0 Beta and this one is currently set as Beta blocking.
We are just hoping to identify the critical set of issues that need be fixed for AGP 8.0 Beta and this one is currently set as Beta blocking.
em...@google.com <em...@google.com>
je...@google.com <je...@google.com>
bi...@google.com <bi...@google.com> #4
Yes, this is indeed something we should do in AGP 8.0 beta, both removing the BasePlugin.getExtension
and moving plugins to gradle-api.
bi...@google.com <bi...@google.com> #6
Thanks for the report, the problem comes from how we detect whether a source file contains typedef. The temporary work around is to import IntDef without using wildcard like this import androidx.annotation.*;
instead use import androidx.annotation.IntDef;
bi...@google.com <bi...@google.com> #7
Fixed with I5af3f35f49f52cd66bbf4bf09ed7aa9ed030abf6
ja...@gmail.com <ja...@gmail.com> #8
Thanks for looking at it, and providing a workaround (and fix!).
Description
When creating a library component that uses here , it states:
@IntDef
annotations in its public API, I am expecting that theannotations.zip
is packaged inside that aar - fromHowever, this doesn't appear to be the case, and the
build/intermediates/annotations_typedef_file/debug/typedefs.txt
file is empty (I'm assuming this would contain something?) as is thebuild/intermediates/annotations_zip/debug/
dir.I'm using AGP 7.0.3 with Gradle version 7.0.2 in Android Studio Bumblebee 2021.1.1. Patch 2.
(NOTE: I re-raised this ticket, as https://issuetracker.google.com/issues/227147440 was likely in too high-level a bucket. Apologies for the dupe.)