Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreI 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.
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.
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'
])
}
}
}
For more information about how the plugin can improve your Gradle builds, please read the introductory blog post.