New Gradle Plugin: DepNames November 20, 2010 | 10:34 am

I just released the DepNames plugin for Gradle. It’s part of my gradle-plugins collection, appearing in version 0.6.6. You can read the description with an example from the README, but the basic idea is that you can create “keywords” for your common external dependencies.

So this line:

dependencies {
  compile "org.apache.felix:org.apache.felix.framework:3.0.1"
}

Becomes this line:

dependencies {
  compile felix
}

And if you can upgrade your definition of felix in one place and all your projects get the same upgrade. The dependency keywords can be defined in either the root project or globally (with the root project definitions trumping the global ones).