java-library-ignore-deprecated.dot

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Separate the Java library configuration graph in 2

    • -39
    • +0
    ./java-library-ignore-deprecated.dot
  1. … 5 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.

    • -14
    • +15
    ./java-library-ignore-deprecated.dot
  1. … 11 more files in changeset.
Adjust documentation to new compileOnly behavior

    • -22
    • +25
    ./java-library-ignore-deprecated.dot
  1. … 9 more files in changeset.
Revert "Revert "Merge branch 'cc-java-library-plugin'""

This reverts commit c6cd884e1a8889fb25d26dfcfdfa79d896835e11.

    • -0
    • +35
    ./java-library-ignore-deprecated.dot
  1. … 76 more files in changeset.
Revert "Merge branch 'cc-java-library-plugin'"

This reverts commit 0d442a55b445f537efbce65267ce9418fce2e7a8, reversing

changes made to 04647ab69fc8d19186cd2a78124ea74b8a89cc0f.

    • -35
    • +0
    ./java-library-ignore-deprecated.dot
  1. … 76 more files in changeset.
First elements of documentation of the Java Library plugin

    • -0
    • +35
    ./java-library-ignore-deprecated.dot
  1. … 9 more files in changeset.