AGP 8.0 适配问题咨询
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
"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.
8.0版本已经remove掉registerTransform 导致 rhea plugin 源码编译不过,想请问一下何时适配
官方建议使用instrumentation api。
https://developer.android.com/studio/releases/gradle-plugin-api-updates?hl=zh-cn#transform-api
Contributor guide
Assessment
This issue has not been assessed yet.