CompositeBuildTaskDelegationIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Check that included build task path is qualified

    • -228
    • +0
    ./CompositeBuildTaskDelegationIntegrationTest.groovy
  1. … 3 more files in changeset.
Test failure cases for composite-build task delegation

    • -7
    • +50
    ./CompositeBuildTaskDelegationIntegrationTest.groovy
  1. … 2 more files in changeset.
Don't allow included builds to access tasks in other included builds

    • -0
    • +33
    ./CompositeBuildTaskDelegationIntegrationTest.groovy
  1. … 4 more files in changeset.
Allow an IncludedBuild instance to be obtain for the executing build

The new API allows a included build dependency to be obtained via:

dependsOn gradle.includedBuild('buildB').task(':task:path')

It also permits a composing build to delegate tasks to all included builds:

dependsOn gradle.includedBuilds*.task(':task:path')

    • -4
    • +24
    ./CompositeBuildTaskDelegationIntegrationTest.groovy
  1. … 2 more files in changeset.
Use a TaskReference for included build task dependencies

This change replaces the use of an encoded string with a TaskReference

for referencing tasks in an included build. While we may eventually wish

to have a single-string representation, it is better that we are modelling

a TaskReference as a first class concept.

For now, there is no convenient or public way to get an `IncludedBuild`

instance, for creating task references.

    • -5
    • +6
    ./CompositeBuildTaskDelegationIntegrationTest.groovy
  1. … 12 more files in changeset.
Moved composite-build delegating task to :composite-builds

    • -2
    • +2
    ./CompositeBuildTaskDelegationIntegrationTest.groovy
  1. … 5 more files in changeset.
Added some TODOs for task addressing in composite builds

    • -0
    • +5
    ./CompositeBuildTaskDelegationIntegrationTest.groovy
  1. … 2 more files in changeset.
Very basic support for dependsOn 'build::path'

    • -0
    • +57
    ./CompositeBuildTaskDelegationIntegrationTest.groovy
  1. … 4 more files in changeset.
Explicit delegate task type for included build task execution

    • -0
    • +69
    ./CompositeBuildTaskDelegationIntegrationTest.groovy
  1. … 1 more file in changeset.