Hello!
I have spent some time on the issue during migration from gradle 7.6 to 8.5
In my old groovy script, I had like:
task taskA(type: TaskTypeA, dependsOn: ['taskB'])
and after the gradle update “dependsOn” stopped working but did not write an error or warning.
It was not so easy to find out what is the problem, because there are many answers with dependsOn['teskname']
on stackowerflow.
So my question is where is described that dependsOn syntax was changed? I was looking at migrations docs and did`n find it there. (Upgrading your build from Gradle 7.x to 8.0)
P.S.
dependsOn[‘taskname’] - doesn`t work
dependsOn ‘taskname’ - works
dependsOn(‘taskname’) - works
Thanks