Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Organize imports

  1. … 339 more files in changeset.
Replace anonymous classes with lambdas

  1. … 711 more files in changeset.
Replace anonymous classes with lambdas

  1. … 695 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 902 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 902 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 890 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 897 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 902 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 902 more files in changeset.
TAPI tests pass ResultHandler as FailureTracker to waitForAllPendingCalls()

  1. … 4 more files in changeset.
TAPI tests pass ResultHandler as FailureTracker to waitForAllPendingCalls()

  1. … 4 more files in changeset.
Change the tooling API provider to route logging to the client stdout and stderr streams in a similar way to the command-line client.

When not producing rich output the tooling API writes errors to the stderr stream (same as when the command-line client is not run from a console), and when producing rich output the errors are written to the stdout stream (same as when the command-line client is run from a console).

    • -2
    • +5
    ./PhasedBuildActionCrossVersionSpec.groovy
  1. … 14 more files in changeset.
Fixes for tapi cancellation test coverage

  1. … 8 more files in changeset.
Fix TAPI exception handling when a build is cancelled while running a test execution request or a phased build action.

    • -0
    • +51
    ./CancellationCrossVersionSpec.groovy
  1. … 7 more files in changeset.
Fix version range constraints for tooling API tests.

    • -3
    • +3
    ./PhasedBuildActionCrossVersionSpec.groovy
  1. … 12 more files in changeset.
Improve error handling for tooling model invocations, so that any failure to build a model or run a client provided action is always treated as a build failure. Previously, some failures were ignored by error reporting.

Add a bunch of test coverage for TAPI error handling.

    • -6
    • +84
    ./PhasedBuildActionCrossVersionSpec.groovy
  1. … 29 more files in changeset.
Remove support for connecting to Gradle <2.6

    • -1
    • +1
    ./PhasedBuildActionCrossVersionSpec.groovy
  1. … 147 more files in changeset.
Always generate task realization and registration build operations and remove the magic flag that used to enable this.

    • -2
    • +3
    ./PhasedBuildActionCrossVersionSpec.groovy
  1. … 3 more files in changeset.
Remove public PhasedBuildActionExecutor type

The type behaves just like a regular build action

except that it can hook into different phases of

the build.

    • -0
    • +32
    ./IntermediateResultHandlerCollector.java
    • -9
    • +9
    ./PhasedBuildActionCrossVersionSpec.groovy
    • -32
    • +0
    ./PhasedResultHandlerCollector.java
  1. … 16 more files in changeset.
Rename phasedAction() to action()

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

    • -7
    • +7
    ./PhasedBuildActionCrossVersionSpec.groovy
  1. … 3 more files in changeset.
Remove projectsEvaluated hook from PhasedActions

And modify projectsLoaded hook to be run after configuration, making

sure that requested models are available.

For now, projects are configurated completely before running the

projectsLoaded action, however we can try to avoid unnecessary

configuration in the future without modifying public APIs.

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

    • -51
    • +0
    ./CustomProjectsEvaluatedAction.java
    • -23
    • +0
    ./CustomProjectsEvaluatedModel.java
    • -0
    • +23
    ./CustomProjectsLoadedModel.java
    • -18
    • +13
    ./PhasedBuildActionCrossVersionSpec.groovy
  1. … 15 more files in changeset.
Make phased actions run tasks only when defined

With this commit, in order to specify if a PhasedAction should run tasks

or just configure the build, the API forTasks is used: when tasks are

defined (or an empty collection is given), Gradle will run tasks,

otherwise only configure the build.

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

    • -2
    • +1
    ./PhasedBuildActionCrossVersionSpec.groovy
  1. … 7 more files in changeset.
Change exception handling when phased action fails

Exceptions in BuildActions of a PhasedAction are now immediately thrown

and the build imediatelly fails. This makes sure that if an action fails

the remaining steps of the build will not uselessly be executed.

Exceptions are unwrapped in ProviderConnection so the correct

information is sent back to the TAPI client.

This commit also addresses other review comments in the PR:

- Removes unnecessary @since annotations in methods

- Adds a test (ignored for now) making sure that default tasks are not

run when no tasks are specified by the user

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

    • -3
    • +59
    ./PhasedBuildActionCrossVersionSpec.groovy
  1. … 10 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>

    • -0
    • +33
    ./CustomBuildFinishedAction.java
    • -0
    • +23
    ./CustomBuildFinishedModel.java
    • -0
    • +24
    ./CustomParameter.java
    • -0
    • +51
    ./CustomProjectsEvaluatedAction.java
    • -0
    • +23
    ./CustomProjectsEvaluatedModel.java
    • -0
    • +34
    ./CustomProjectsLoadedAction.java
    • -0
    • +208
    ./PhasedBuildActionCrossVersionSpec.groovy
    • -0
    • +32
    ./PhasedResultHandlerCollector.java
  1. … 26 more files in changeset.