Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Add test coverage for runtime/compile classpath of relocated dependency

    • -7
    • +25
Make sure relocated POMs are visible in the `Compile` scope

This commit changes the dependency scope for relocated POM files. Previously,

we added a dependency using the `Runtime` scope. But since we activated derived

variants by default, we're using attribute based matching, which has the consequence

that a dependency added in the `compile` (`implementation`) configuration will

not get runtime dependencies anymore. Since the runtime classpath extends the

compile classpath, this commit changes the default mapped scope to `compile`, so

that relocated dependencies are visible to both scopes. It should have no

impact on leaking dependencies since the transitive, relocated, dependency will

have its `runtime` or `compile` dependencies selected appropriately.

Fixes gradle/gradle-private#1527

    • -3
    • +3
  1. … 1 more file in changeset.
Resolve parent and imported POMs as selectors, not ids

    • -1
    • +24
  1. … 3 more files in changeset.
Refine naming for MavenPomRelocationIntegrationTest

    • -17
    • +18
Refactor relocation integration test and add a test for double-relocatio

    • -80
    • +57
Break maven pom relocation integration test into multiple scenario and add two unit tests

    • -0
    • +146
  1. … 2 more files in changeset.