-
Notifications
You must be signed in to change notification settings - Fork 273
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
org.gradle.api.CircularReferenceException: Circular dependency between the following tasks #124
Comments
应该是内置 methodMapping 任务引起的循环依赖,在 rheatrace 的 compilation 配置里加上 needPackageWithMethodMap = false 来关闭内置 methodMapping,抓 trace 时通过 -m path/to/methodMapping.txt 手动指定 methodMapping 文件位置 |
|
试一下 2.0.3-rc03 版本呢 |
用的 2.0.3-rc03 ,还是不行 @WangFeng-AHU |
org.gradle.api.CircularReferenceException: Circular dependency between the following tasks:
:app:compileDebugJavaWithJavac
+--- :app:compileDebugKotlin
| +--- :app:dataBindingGenBaseClassesDebug
| | --- :app:mergeDebugResources
| | --- :app:copyDebugBundledJs
| | --- :app:mergeDebugAssets
| | --- :app:copyRheaDebugMapping
| | --- :app:transformClassesWithRheaTraceForDebug
| | +--- :app:compileDebugJavaWithJavac ()
| | +--- :app:compileDebugKotlin ()
| | --- :app:processDebugResources
| | --- :app:mergeDebugResources ()
| +--- :app:kaptDebugKotlin
| | +--- :app:dataBindingGenBaseClassesDebug ()
| | +--- :app:kaptGenerateStubsDebugKotlin
| | | +--- :app:dataBindingGenBaseClassesDebug ()
| | | --- :app:processDebugResources ()
| | +--- :app:mergeDebugResources ()
| | --- :app:processDebugResources ()
| --- :app:processDebugResources ()
+--- :app:dataBindingGenBaseClassesDebug ()
+--- :app:kaptDebugKotlin ()
--- :app:processDebugResources ()
(*) - details omitted (listed previously)
引入项目后,build报这个错,说循环引用问题
项目的AGP版本为4.1.1 gradle版本为6.5
The text was updated successfully, but these errors were encountered: