Circular dependency between the following tasks:
: spring - beans: compileGroovy
\ - : spring - beans: compileJava
\ - : spring - beans: compileKotlin
\ - : spring - beans: compileGroovy (*)
CodePudding user response:
To ask I also met commented out in the spring - beans also not is what ahCodePudding user response:
To ask I also met commented out in the spring - beans, have to solve? Online to see three lines to add annotations, and complains/spring beans/SRC/main/kotlin/org/springframework/beans/factory/ListableBeanFactoryExtensions kt: (67), 37) : Unresolved reference: ListableBeanFactoryCodePudding user response:
Circular dependency between the following tasks:: spring - beans: compileGroovy
\ - : spring - beans: compileJava
\ - : spring - beans: compileKotlin
\ - : spring - beans: compileGroovy (*)
The same error: how do you solve
CodePudding user response:
Modify the spring - beans. Spring - beans. Gradle fileModify the last three behavior is as follows:
Def deps=compileGroovy. TaskDependencies. ImmutableValues + compileGroovy. TaskDependencies. MutableValues
CompileGroovy. DependsOn=deps - "compileJava
"CompileKotlin. DependsOn (compileGroovy)
CompileKotlin. Classpath +=files (compileGroovy destinationDir)
CodePudding user response: