spring-boot/buildSrc
Andy Wilkinson ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
2020-01-10 14:15:35 +00:00
..
src Port the build to Gradle 2020-01-10 14:15:35 +00:00
build.gradle Port the build to Gradle 2020-01-10 14:15:35 +00:00
README.adoc Port the build to Gradle 2020-01-10 14:15:35 +00:00
settings.gradle Port the build to Gradle 2020-01-10 14:15:35 +00:00

= BOM Plugin

Allows one to publish a BOM from Gradle.
Properties, dependencies, and other BOMs are applied to the `bom {}` extension.

This plugin applies the `java-platform` and `maven-publish` plugins to the Project it's applied to.

== Usage

[source,groovy,indent=0]
----
plugins {
	id 'org.springframework.boot.bom'
}

bom {
    property 'logback.version', '1.2.3'
    property 'junit-jupiter.version', '5.3.2'

    dependency 'ch.qos.logback', 'logback-classic', '${logback.version}'
    dependency 'ch.qos.logback', 'logback-core', '${logback.version}'

    bomImport 'org.junit', 'junit-bom', '${junit-jupiter.version}'
}
----