luckybilly / luckybilly/AutoRegister
Does not support AGP 7.2 before even thinking of AGP 8.X
Nobody has claimed this yet.
- Dominant language
- Groovy
- Stars
- 1.1k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
To support 7.2 you need to copy this from the upstream fork: https://github.com/ooftf/AutoRegister/issues/1
To support AGP 8.X is the same issue as the upstream fork: https://github.com/ooftf/AutoRegister/issues/4
Android Gradle Plugin 8.X deprecate the Transform API.
https://developer.android.com/build/releases/gradle-plugin-api-updates#transform-removed
This means this plugin blocks any dependent project from updating to AGP 8.0.
I think the solution is to use the Instrumentation API & createClassVisitor https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/instrumentation/AsmClassVisitorFactory#createClassVisitor(com.android.build.api.instrumentation.ClassContext,org.objectweb.asm.ClassVisitor) and an example is here: https://github.com/android/gradle-recipes/tree/agp-7.2/BuildSrc/testAsmTransformApi
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the linked upstream AutoRegister issues and the Android Gradle Plugin API updates for the removed Transform API. Then compare the agp-7.2 BuildSrc testAsmTransformApi example with this plugin's current bytecode registration path. Done means the plugin supports AGP 7.2 and AGP 8.x without blocking dependent projects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, groovy
- Domain
- build-system, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100