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

    • -45
    • +0
    ./InternalCompositeAwareConnection.java
  1. … 136 more files in changeset.
Removed `EclipseProjectIdentifier`

For the Eclipse model, we assume that the name of an EclipseProject is

sufficient for identification, and that the path of a ProjectDependency

is sufficient to locate the target project.

Based on that assumption, this commit removes the separate identifier

that was added to the eclipse model. It also simplifies the code for

wiring up dependencies in the Eclipse model, removing the need to track

the ProjectComponentIdentifier for each project dependency.

    • -48
    • +0
    ./eclipse/DefaultEclipseProjectIdentifier.java
  1. … 13 more files in changeset.
Stop tracking projectId for IDEA module dependency

For the IDEA model, we assume that the name of a IDEA module is

sufficient for identification. Based on that assumption, this commit

simplifies the code for wiring up dependencies in the IDEA model,

removing the need to track the ProjectComponentIdentifier and project

directory for each module dependency.

  1. … 6 more files in changeset.
Removed support for invoking Gradle versions older than 1.2 through tooling API. This is now an error.

  1. … 45 more files in changeset.
Javadocs.

Added some more test coverage for warnings generated when using a deprecated tooling api client version.

  1. … 3 more files in changeset.
Added integration test for Idea module dependencies (and fix)

  1. … 3 more files in changeset.
Added `IdeaModuleIdentifier` allowing idea module dependencies to be identified in a composite

- `IdeaModule.identifier` returns a unique identifier for the module

- `IdeaModuleDependency.target` returns the unique identifier for the target module

- Compatibility mapper sets these values for older gradle versions

    • -0
    • +52
    ./DefaultIdeaModuleIdentifier.java
  1. … 18 more files in changeset.
Use an opaque `EclipseProjectIdentifier` to correlate project dependencies

    • -0
    • +48
    ./eclipse/DefaultEclipseProjectIdentifier.java
  1. … 10 more files in changeset.
Revert "Removed a bunch of stuff related to the daemon composite coordinator for the 2.13 release"

This reverts commit 7616f0700c654d96bb9a36a6ecf13645d9083ff9.

    • -0
    • +45
    ./InternalCompositeAwareConnection.java
  1. … 12 more files in changeset.
Removed a bunch of stuff related to the daemon composite coordinator for the 2.13 release

    • -45
    • +0
    ./InternalCompositeAwareConnection.java
  1. … 12 more files in changeset.
Moved BuildIdentity and ProjectIdentity to better packages

- Interface types to `org.gradle.tooling.model`

- Implementation types to `org.gradle.tooling.internal.connection`

  1. … 31 more files in changeset.
Merged `GradleConnectionPartipant` into `GradleParticipantBuild`

  1. … 11 more files in changeset.
Removed unused internal interface

  1. … 1 more file in changeset.
Return a `BuildIdentity` for participant added to `GradleConnection`

This allows us to remove `GradleBuild` from the public API

  1. … 12 more files in changeset.
Renamed `org.gradle.tooling.composite` -> `org.gradle.tooling.connection`

  1. … 74 more files in changeset.
Remove composite-specific build exception

    • -38
    • +0
    ./CompositeBuildExceptionVersion1.java
  1. … 1 more file in changeset.
Implement task execution for single project within a composite

+review REVIEW-5856

  1. … 11 more files in changeset.
Remove more composite build change from release

    • -36
    • +0
    ./eclipse/SetOfEclipseProjects.java
Remove Composite build changes from 2.12 release

    • -29
    • +0
    ./CompositeBuildExceptionVersion1.java
  1. … 51 more files in changeset.
Add a way to correlate composite build failures to a BuildIdentity

+review REVIEW-5849

    • -1
    • +10
    ./CompositeBuildExceptionVersion1.java
  1. … 4 more files in changeset.
Change version numbers to refer to 2.13 as the first version of Gradle with composite build

+review REVIEW-5849

    • -1
    • +1
    ./CompositeBuildExceptionVersion1.java
  1. … 2 more files in changeset.
Create ProjectIdentity in the coordinator

+review REVIEW-5849

    • -0
    • +59
    ./DefaultBuildIdentity.java
    • -0
    • +73
    ./DefaultProjectIdentity.java
  1. … 8 more files in changeset.
Replace SetOfEclipseProjects with generic solution

- add MultiModelProducer

- add buildModels method to ConsumerConnection

- implement separate BuildModelsAction for composites

+review REVIEW-5851

    • -0
    • +45
    ./InternalCompositeAwareConnection.java
    • -36
    • +0
    ./eclipse/SetOfEclipseProjects.java
  1. … 17 more files in changeset.
Refactor composite exceptions

- make CompositeBuildException extend BuildException

+review REVIEW-5817

    • -0
    • +29
    ./CompositeBuildExceptionVersion1.java
  1. … 8 more files in changeset.
Add daemon-side coordination implementation

- let it co-exist with the client side implementation for now

- enable in GRADLE_USE_COORDINATOR tests

with `export GRADLE_USE_COORDINATOR=1`

+review REVIEW-5817

    • -0
    • +37
    ./eclipse/SetContainer.java
    • -0
    • +36
    ./eclipse/SetOfEclipseProjects.java
  1. … 6 more files in changeset.
Javadocs.

    • -1
    • +2
    ./test/InternalTestExecutionRequest.java
change InternalTestMethod to InternalJvmTestRequest

simplifies configuration

+review REVIEW-5581

    • -0
    • +31
    ./test/InternalJvmTestRequest.java
  1. … 16 more files in changeset.
replace InternalTestExecutionRequestVersion2 with ProviderInternalTestExecutionRequest

- some unit test coverage for TestExecutionBuildConfigurationActionTest

+review REVIEW-5581

    • -34
    • +0
    ./test/InternalTestExecutionRequestVersion2.java
  1. … 10 more files in changeset.
Ensure all tests of class are executed if test class configured explicitly

- addresses review item

+review REVIEW-5581

    • -0
    • +6
    ./test/InternalTestExecutionRequestVersion2.java
  1. … 4 more files in changeset.