-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify Plugins approach to adding dependencies so that it no longer…
… uses a hidden detached configuration. (#345) * Attempt to simplify the rewrite deps. * Setup the the dependencies early using withDependencies * Use addAllLater to add dependencies. * Fix version vs newVersion parameter name. * Switch to addLater to continue supporting Gradle 4. * Use `beforeResolve` to allow version setting. With the `addLater` approach that was previously attempted the dependency strings were generated early. This would prevent users from being able to set the rewrite version in their build file. Using `beforeResolve` allows us to delay until just before resolution.
- Loading branch information
1 parent
95e550b
commit 147c7ef
Showing
2 changed files
with
47 additions
and
36 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
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