spring源码编译orm模块报循环依赖错误解决方法

   根据别的大神的路线,一步步配置spring源码的时候,编译orm报如下错误:

 

  1.  
    BUILD FAILED in 3s
  2.  
    Circular dependency between the following tasks:
  3.  
    :spring-beans:compileGroovy
  4.  
    \--- :spring-beans:compileJava
  5.  
    \--- :spring-beans:compileKotlin
  6.  
    \--- :spring-beans:compileGroovy (*)
  7.  
     
  8.  
    (*) - 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
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3