MixedJavaAndWebProjectIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Let integration tests in 'integ-test' not use deprecated configurations

    • -3
    • +3
    ./MixedJavaAndWebProjectIntegrationTest.groovy
  1. … 12 more files in changeset.
Let integration tests in 'integ-test' not use deprecated configurations

    • -3
    • +3
    ./MixedJavaAndWebProjectIntegrationTest.groovy
  1. … 12 more files in changeset.
Let integration tests in 'integ-test' not use deprecated configurations

    • -3
    • +3
    ./MixedJavaAndWebProjectIntegrationTest.groovy
  1. … 12 more files in changeset.
Let integration tests in 'integ-test' not use deprecated configurations

    • -3
    • +3
    ./MixedJavaAndWebProjectIntegrationTest.groovy
  1. … 12 more files 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.

    • -3
    • +4
    ./MixedJavaAndWebProjectIntegrationTest.groovy
  1. … 11 more files in changeset.
Ensure war projects work with java libraries

    • -19
    • +100
    ./MixedJavaAndWebProjectIntegrationTest.groovy
- Shuffled some classes around in o.g.integtests.fixtures to remove package cycle. - Switched on package cycle checking for a few more projects. - Switched off class cycle checking, just do packages for now.

    • -1
    • +1
    ./MixedJavaAndWebProjectIntegrationTest.groovy
  1. … 115 more files in changeset.
Added some int test coverage for mixed java, war and ear multi-project builds.

    • -0
    • +56
    ./MixedJavaAndWebProjectIntegrationTest.groovy
  1. … 1 more file in changeset.