Clone
Bo Zhang <bo@gradle.com>
committed
on 03 Apr
Use task dependencies in build type tasks. (#12669)
* Revert "Revert "Use normal task dependencies to model build types (#11788)""

This rev… Show more
Use task dependencies in build type tasks. (#12669)

* Revert "Revert "Use normal task dependencies to model build types (#11788)""

This reverts commit a808fec7031ad1e6fe483a78f61589f016560fa2.

* Add all projects tasks

* Fix missing tasks

* Use plain task dependencies

* Remove build type plugin and use tasks directly

The empty plugin is kept around to be turned into a

GradleBuildLifecycleTasksPlugin where we move the task definfitions

in a next step.

* Fix cross version test auto-dependencies

The automatically added dependency should go to

'crossVersionTestImplementation' and not modify the unit test

classpath.

* Move lifecycle tasks into lifecycle plugin

* Remove dead code and fix formatting

* Fix global property value comparison

* Isolate project properties setup in global state plugin

This makes the root build script itself less dependent on order and

allows us to apply all plugins in the 'plugins' block.

* Cleanup and revert changes to 'gradelbuild.java-projects'

Co-authored-by: Jendrik Johannes <jendrik@gradle.com> Show less

master + 121 more