gradle-extra-configurations-plugin icon indicating copy to clipboard operation
gradle-extra-configurations-plugin copied to clipboard

Optional dependencies are pulled in transitively via a project dependency

Open wilkinsona opened this issue 6 years ago • 0 comments

When a project, one, declares a dependency as optional, another project that depends upon project one will pick up the optional dependency transitively. My exception is that an optional dependency will behave as it does in Maven and will not be picked up transitively. You can run ./gradlew verifyRuntimeClasspath against the attached project to reproduce the unexpected behaviour.

wilkinsona avatar Dec 10 '18 18:12 wilkinsona