ModelsWithGradleBuildIdentifierCrossVersionSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove GradleConnection API

The GradleConnection API was our first attempt at

implementing composite builds. We have improved on that

in Gradle 3.1, allowing the user to define composite builds

in settings.gradle and giving the user much more control

over how dependency substitution works.

A composite build is a normal Gradle build as far as the

Tooling API is concerned, so the separate concept of

the GradleConnection is no longer needed. We will add

methods for fetching all models from a composite build

to ProjectConnection in Gradle 3.2

    • -97
    • +0
    ./ModelsWithGradleBuildIdentifierCrossVersionSpec.groovy
  1. … 136 more files in changeset.
Merge remote-tracking branch 'origin/release'

    • -3
    • +3
    ./ModelsWithGradleBuildIdentifierCrossVersionSpec.groovy
  1. … 5 more files in changeset.
Renamed new identifier properties on tooling models

GradleBuild.getIdentifier() -> getBuildIdentifier()

BuildEnvironment.getGradleBuildIdentifier() -> getBuildIdentifier()

GradleProject.getIdentifier() -> getProjectIdentifier()

BasicGradleProject.getIdentifier() -> getProjectIdentifier()

BuildInvocations.getGradleProjectIdentifier() -> getProjectIdentifier()

ProjectPublications.getGradleProjectIdentifier() -> getProjectIdentifier()

Launchable.getGradleProjectIdentifier() -> getProjectIdentifier()

    • -3
    • +3
    ./ModelsWithGradleBuildIdentifierCrossVersionSpec.groovy
  1. … 15 more files in changeset.
Specify which tests should NOT be run with an integrated composite

Instead of specifying the tests that DO work with an integrated composite,

we specify which ones do not yet work. This should make it easier to identify

the tests that still need fixing. Before integrated composite can be considered

fully functional from the Tooling API, all of these tests need to be fixed.

    • -2
    • +0
    ./ModelsWithGradleBuildIdentifierCrossVersionSpec.groovy
  1. … 16 more files in changeset.
Enabled testing of integrated composites for many cases

For tests that are already functional, we now test an 'integrated' composite

when testing against the current (under-development) gradle version, retaining

the existing coverage with a non-integrated composite for older versions.

Note that this isn't great, since we've removed coverage for a non-integrated

composite against the current gradle version. Need to enhance the test runner

to include both scenarios.

    • -1
    • +4
    ./ModelsWithGradleBuildIdentifierCrossVersionSpec.groovy
  1. … 9 more files in changeset.
Make it easier to test with an integrated composite

    • -1
    • +1
    ./ModelsWithGradleBuildIdentifierCrossVersionSpec.groovy
  1. … 4 more files in changeset.
Added build identifier to `BuildEnvironment` model

    • -0
    • +96
    ./ModelsWithGradleBuildIdentifierCrossVersionSpec.groovy
  1. … 1 more file in changeset.