forked from luckybilly/AutoRegister
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels