My build relies on having ‘runtime’ configuration unresolved before the execution phase. This is no longer the case in the 3.0. Is this a regression or breaking change in the War plugin?
apply plugin:'war'
defaultTasks 'build'
gradle.taskGraph.whenReady { taskGraph ->
project.configurations.all {
assert state == Configuration.State['UNRESOLVED']
}
}
Running this build with no args:
* What went wrong:
Failed to notify task execution graph listener.
> assert state == Configuration.State['UNRESOLVED']
| | |
| false UNRESOLVED
RESOLVED