Gradle Dependency Management Plugin 0.6.0 released

Releases | Andy Wilkinson | June 30, 2016 | ...

I am pleased to announce that Gradle dependency management plugin 0.6.0.RELEASE is now available from Maven Central, JCenter, and the Gradle Plugin Portal.

Gradle 3.0 compatibility

This new release is compatible with Gradle 3.0. At the time of writing it's tested against 3.0 M2 and the 0.6.x line will continue to track Gradle 3.0 development to maintain compatibility if at all possible.

Finer control over bom property overrides

Previously, an imported bom's properties could be overridden using project properties. This new release adds support for overriding a property as part of the import. bomProperty can be used to override properties one at a time (and can be used multiple times to override multiple properties):

dependencyManagement {
    imports {
        mavenBom('com.example:example-bom:1.2.0') {
            bomProperty 'foo.version', '1.1.1'
            bomProperty 'bar.version', '2.0.3'
        }
    }
}

Alternatively, bomProperties can be used along with a map of property overrides:

dependencyManagement {
    imports {
        mavenBom('com.example:example-bom:1.2.0') {
            bomProperties([
                'foo.version': '1.1.1',
                'bar.version': '2.0.3'
            ])
        }
    }
}

Learning more

For more information about how the plugin can improve your Gradle builds, please read the introductory blog post.

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all