Unable to remove Gradle task from dependsOn
I was trying to do a very simple (in theory) thing - remove one task dependency on another one. I'm using Gradle nu.studer.jooq plugin and it comes with task generateJooq which somehow makes other tasks depend on it (compileJava & compileKotlin).
Something like (taskTree):
dbcompileJava
+---
dbcompileKotlin
| \---
dbgenerateJooq
\---
dbgenerateJooq *
I used an approach from
https://stackoverflow.com/a/68822357/10371394...