ApplicationPluginIntegrationTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -3
    • +3
    ./ApplicationPluginIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -3
    • +3
    ./ApplicationPluginIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -3
    • +3
    ./ApplicationPluginIntegrationTest.groovy
  1. … 98 more files in changeset.
Let plugins tests not use deprecated configurations

    • -3
    • +3
    ./ApplicationPluginIntegrationTest.groovy
  1. … 36 more files in changeset.
Let plugins tests not use deprecated configurations

    • -3
    • +3
    ./ApplicationPluginIntegrationTest.groovy
  1. … 36 more files in changeset.
Let plugins tests not use deprecated configurations

    • -3
    • +3
    ./ApplicationPluginIntegrationTest.groovy
  1. … 33 more files in changeset.
Let plugins tests not use deprecated configurations

    • -3
    • +3
    ./ApplicationPluginIntegrationTest.groovy
  1. … 36 more files in changeset.
More fixes

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 4 more files in changeset.
More fixes

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 4 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 28 more files in changeset.
Use installDist as main task for application plugin

    • -1
    • +1
    ./ApplicationPluginIntegrationTest.groovy
Test app plugin like other well behaved plugins

The application plugin neither creates its tasks lazily nor references

other tasks lazily (e.g., the `jar` task). Making the

ApplicationPluginIntegrationTest inherit from WellBehavedPluginTest

exposes this problem by showing that the plugin fails the "does not

realize all possible tasks" test.

Signed-off-by: Kevin Macksamie <kevin.macksamie@gmail.com>

    • -2
    • +8
    ./ApplicationPluginIntegrationTest.groovy
Fix plugins usages of output test fixtures

    • -8
    • +8
    ./ApplicationPluginIntegrationTest.groovy
  1. … 8 more files in changeset.
Removed extraneous 'chmod' (#4779)

This fixes https://github.com/gradle/gradle/issues/4627

    • -0
    • +22
    ./ApplicationPluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Add support for configurable start script directory

Signed-off-by: Bo Zhang <bo@gradle.com>

    • -0
    • +26
    ./ApplicationPluginIntegrationTest.groovy
  1. … 8 more files in changeset.
Improve code according to Lorant suggestion

    • -3
    • +3
    ./ApplicationPluginIntegrationTest.groovy
Address code review comments

    • -4
    • +30
    ./ApplicationPluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Detect when classpath changes with application plugin

Fix issue gradle/gradle#1923

    • -10
    • +27
    ./ApplicationPluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix backwards compatibility of new Java configurations

When a `java` or `java-library` project is referenced from another project

that doesn't know about the `usage` attribute, then all runtime dependencies

need to be exposed. This is necessary e.g. when packaging EARs or applications.

At the same time we want to have the minimal set of leaked dependencies for

consumers that do know about `usage`. The solution is to move the `apiElements`

configuration up to the `java` plugin and let it contain `compile` and `runtime`

for backwards compatibility. The `default` configuration contains everything on the

`runtimeClasspath`.

Once `compile` and `runtime` have been removed in some future Gradle version,

we will have exactly what we want: An empty API for `java` projects and only

exposing the `api` configuration for `java-library` projects.

    • -6
    • +12
    ./ApplicationPluginIntegrationTest.groovy
  1. … 11 more files in changeset.
Merge pull request #1174 from gradle/so-java-library-test-usage

Make api/implementation work for testing too

    • -0
    • +100
    ./ApplicationPluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Fix application plugin test that put files into build/ before the test runs

+review REVIEW-6424

    • -1
    • +1
    ./ApplicationPluginIntegrationTest.groovy
Make api/implementation work for testing too

The api/implementation configurations were ignored for test compilation and runtime

until now, meaning that all api dependencies were missing during compilation

and all implementation dependencies were missing at test runtime. Instead the default

configuration was used for both cases.

The fix was simply to add the usage attribute to the compile/runtime classpath configuration

of all sourceSets instead of just the main one.

    • -0
    • +100
    ./ApplicationPluginIntegrationTest.groovy
  1. … 3 more files in changeset.