I have three test folders for scala, groovy and Java.
In Java, I have a class that has a dependency on groovy and in groovy I have a class that has a dependency on Scala.
So, I add this dependency relation in the gradle assembly file:
compileTestGroovy.dependsOn compileTestScala
compileTestJava.dependsOn compileTestGroovy
But I get this error on Gradle
Circular dependency between the following tasks:
:compileTestGroovy
+--- :compileTestJava
| \--- :compileTestGroovy (*)
\--- :compileTestScala
\--- :compileTestJava (*)
(*) - details omitted (listed previously)
Any idea what I'm doing wrong?
Hi
paul source
share