Describe the issue
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.
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.
Describe the issue 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. 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.除了有这个警告之外,不影响使用。
Build Environment