-
Notifications
You must be signed in to change notification settings - Fork 2
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
obsolete transform api with Gradle sync #6
Comments
the APMS uses the transform API. |
We plan to adapt to gradle8.0 in March 2023. |
Thank you. I look forward to the new update. |
I just checked the changelogs here: CHANGELOGS and didn't find the expected update. Let me know if I am checking the wrong place. |
As a workaround you could consider adding |
I am currently on Gradle 7.3.1.
This becomes an issue in Gradle 8.0
When I apply the plugin: apply plugin: 'com.huawei.agconnect'
API 'android.registerTransform' is obsolete.
It will be removed in version 8.0 of the Android Gradle plugin.
The Transform API is removed to improve build performance. Projects that use the
Transform API force the Android Gradle plugin to use a less optimized flow for the
build that can result in large regressions in build times. It’s also difficult to
use the Transform API and combine it with other Gradle features; the replacement
APIs aim to make it easier to extend the build without introducing performance or
correctness issues.
There is no single replacement for the Transform API—there are new, targeted
APIs for each use case. All the replacement APIs are in the
androidComponents {}
block.The Transform API uses incremental APIs deprecated since Gradle 7.5. Please add
android.experimental.legacyTransform.forceNonIncremental=true
togradle.properties
to fix this issue. Note that this will run transformsnon-incrementally and may have a build performance impact.
For more information, see https://developer.android.com/studio/releases/gradle-plugin-api-updates#transform-api.
To determine what is calling android.registerTransform, use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Affected Modules: app
The text was updated successfully, but these errors were encountered: