How do I change the dependency direction between `...
# gradle
d
How do I change the dependency direction between
compileKotlin
and
compileJava
tasks in gradle? I try this
Copy code
compileJava.dependsOn.remove(compileKotlin)
compileKotlin.dependsOn(compileJava)
but I am still getting the error
Copy code
Circular dependency between the following tasks:
:backend:compileJava
\--- :backend:compileKotlin
     \--- :backend:compileJava (*)
👍 1
s
You did exactly what I did last week 😂