We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Android Gradle Plugin 8.X deprecate the Transform API.
https://developer.android.com/build/releases/gradle-plugin-api-updates#transform-removed
https://developer.android.com/build/releases/gradle-plugin-api-updates#support_for_transformations_based_on_whole_program_analysis
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
createClassVisitor
The text was updated successfully, but these errors were encountered:
If you are interested, I have found the migration work has been done here: https://github.com/jadepeakpoet/ARouter/blob/04be7446d2cda62e71961fdc9befe0591c81a6e2/arouter-gradle-plugin/src/main/kotlin/com/alibaba/android/arouter/register/core/transform/RegisterTransform.kt#L25
Sorry, something went wrong.
No branches or pull requests
Android Gradle Plugin 8.X deprecate the Transform API.
https://developer.android.com/build/releases/gradle-plugin-api-updates#transform-removed
https://developer.android.com/build/releases/gradle-plugin-api-updates#support_for_transformations_based_on_whole_program_analysis
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/testAsmTransformApiThe text was updated successfully, but these errors were encountered: