org.gradle.api.CircularReferenceException: Circular dependency between the following tasks
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.