-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don’t allow exclusions to affect extending configurations
Previously, when the plugin identified that an artifact was to be excluded from a configuration, the exclusion was applied to the configuration. In Gradle, when one configuration extends another configuration, the extending configuration inherits the exclusions from the configuration that’s being extended. Even if the extending configuration had a direct dependency on the artifact it was still excluded as an exclusion added to a configuration applies to all, both direct and transitive. This commit updates the plugin to add exclusions to dependencies rather than the whole configuration. This prevents the exclusions from being inherited by extending configurations. Fixes gh-21
- Loading branch information
1 parent
820c56b
commit 9ccb7fa
Showing
4 changed files
with
79 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=0.4.0.BUILD-SNAPSHOT | ||
version=0.3.1.BUILD-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters