prezi / pride

Manages a pride of Gradle modules
Other
71 stars 13 forks source link

Dynamic dependencies with built-in Gradle support #137

Closed lptr closed 9 years ago

lptr commented 9 years ago

As of https://github.com/prezi/gradle/commit/57f59392ff64388c55161f4999ab5ef464c1366f Gradle supports dependency substitution. Let's use it!

This change removes the need for a separate dynamicDependencies block, and it works with transitive dependencies without any further hacking. So cool!

Review on Reviewable

lptr commented 9 years ago

Tests don't work yet, as you need an installed version of that specific Gradle version in ~/Tools/gradle-local. Won't be a problem when Gradle releases our changes, as we will be able to use the stock Gradle installation as before.