DefaultToolingImplementationLoaderTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove support for connecting to Gradle <2.6

    • -26
    • +11
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 147 more files in changeset.
Use umodifiable list in DefaultClassPath

This makes accidental mutation impossible and reduces some

of the repeated wrapping.

    • -2
    • +2
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 37 more files in changeset.
Change target version from 4.7 to 4.8

Changing all uses of 4.7 in documentation and code.

Signed-off-by: Lucas Smaira <lsmaira@google.com>

    • -1
    • +1
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 34 more files in changeset.
Introduce support for running phased actions

This commit introduces the ability of running multiple build actions in

different phases of the build. These actions are passed by the client

through the tooling api.

With this commit, a single action can be added to each one of the

supporting phases (after projects are loaded, after projects are

evaluated and after tasks are run).

This feature allows improvements like running actions that call a model

builder modifying the graph tasks, and then it is possible to first

fetch a model and then execute tasks, in this order. e.g. Android Studio

sync + source generation.

Signed-off-by: Lucas Smaira <lsmaira@google.com>

    • -2
    • +20
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 54 more files in changeset.
Change version of parameterized models to 4.4

This commit modifies all the java docs and concerned files in previous

commits in this pull request.

    • -1
    • +1
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 32 more files in changeset.
Parameter connection related code simplification

Renamings and code simplifications suggested in the pull request.

No functionality changed.

    • -10
    • +4
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 16 more files in changeset.
Change version of parameterized models to 4.3

This commit modifies all the java docs and concerned files in previous

commits.

    • -1
    • +1
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 32 more files in changeset.
Deprecate support for old TAPI providers (#2913)

Deprecation TAPI provider older than 2.6

https://github.com/gradle/gradle-private/issues/898

This change deprecates running Gradle older than 2.6 via Tooling API

    • -2
    • +2
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 11 more files in changeset.
Introduce creation of parameterized tooling models

This commit introduces the possibility of passing parameters through the

Tooling API to the model builders in order to create models based on

information received by the client.

This feature allows plugins to register a model builder for a given

model and parameter and then build models based on the received

parameter. It is preferable to passing gradle properties for two

reasons: first convenience and second because parameters can be created

inside the BuildAction.

A new interface ToolingParameterizedModelBuilder was created and should

be extended by parameterized builders. New methods were added to the

BuildController in order to build models with parameters. In order to

keep cross version compatibility, new protocol interfaces were created.

    • -8
    • +46
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 38 more files in changeset.
Favour `ClassPath.EMPTY` over `new DefaultClassPath()`

As it is more intent revealing, shorter and avoids an allocation.

    • -1
    • +2
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 11 more files in changeset.
Generate start and finish events for Gradle distribution download done by the TAPI.

Also moved responsibility for creating the downloader down closer to where the download happens, and inject only the listeners that are interested in the events.

    • -10
    • +37
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 16 more files in changeset.
tooling: report gradle wrapper download progress

    • -6
    • +8
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 68 more files in changeset.
DefaultToolingImplementationLoaderTest test fix unwrapping ParameterValidatingConsumerConnection

    • -0
    • +2
    ./DefaultToolingImplementationLoaderTest.groovy
Removed support for invoking Gradle versions older than 1.2 through tooling API. This is now an error.

    • -16
    • +20
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 45 more files in changeset.
Moved progress logging and styled text logging interfaces to live in their own packages.

    • -1
    • +1
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 155 more files in changeset.
Moved internal logging classes from 'core' to 'logging' project.

    • -1
    • +1
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 418 more files in changeset.
Moved `o.g.messaging.*` to `o.g.internal.*`.

    • -1
    • +1
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 295 more files in changeset.
Renamed some tooling api classes

    • -1
    • +1
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 7 more files in changeset.
Revert "Make logback config files accessible to tooling provider."

This reverts commit f4664bc6c1b7c0590a8a006db93c8dd100d3352a.

    • -24
    • +2
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 1 more file in changeset.
Revert "Refined resources access allowing to configure logging during toolingApi provider bootstrap."

This reverts commit 6b17a8a5a6a6b67b8df8629628b12af182d79845.

    • -2
    • +2
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 1 more file in changeset.
Removed resource no longer required.

    • -6
    • +0
    ./DefaultToolingImplementationLoaderTest.groovy
Refined resources access allowing to configure logging during toolingApi provider bootstrap.

It can load special resources to avoid problems with resources that

are not on tooling API provider's classpath.

    • -2
    • +2
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 1 more file in changeset.
Make logback config files accessible to tooling provider.

This allows to configure logging from provider before it sets its own configuration.

    • -2
    • +24
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 1 more file in changeset.
Forward shutdown request to each of the tooling api providers used by the client, and discard the providers once complete. The provider currently doesn't do anything with the request.

    • -3
    • +15
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 14 more files in changeset.
Changed ToolingImplementationLoader and Distribution to use the internal BuildCancellationToken type instead of the public type.

    • -3
    • +3
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 13 more files in changeset.
REVIEW-5073 Log info about missing cancellation support.

Use logger in a decorator for ConsumerConnection to notify user that the

build cannot be cancelled if older toolingApi provider is used.

    • -12
    • +41
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 4 more files in changeset.
Support for distribution download cancelling in toolingApi.

    • -1
    • +1
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 8 more files in changeset.
Make cancellationToken available in Distribution.getToolingImplementationClasspath().

    • -5
    • +7
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 11 more files in changeset.
Add InternalCancellableConnection protocol to toolingApi and its consumer-side implementation.

    • -2
    • +17
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 10 more files in changeset.
Remove support for connections to Tooling API providers older than 1.0M8 and from consumers older than 1.2.

    • -1
    • +18
    ./DefaultToolingImplementationLoaderTest.groovy
  1. … 47 more files in changeset.