spring源码编译orm模块报循环依赖错误解决方法
根据别的大神的路线,一步步配置spring源码的时候,编译orm报如下错误:
-
BUILD FAILED in 3s
-
Circular dependency between the following tasks:
-
:spring-beans:compileGroovy
-
\--- :spring-beans:compileJava
-
\--- :spring-beans:compileKotlin
-
\--- :spring-beans:compileGroovy (*)
-
-
(*) - details omitted (listed previously)
将gradle的版本由4.9改为4.4.1,放开compileGroovy.dependsOn = compileGroovy.taskDependencies.values - "compileJava" 就可以了
文章来自:https://www.cnblogs.com/zxq-Study-Java/p/12597764.html