You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/buildSrc
Andy Wilkinson ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
5 years ago
..
src Port the build to Gradle 5 years ago
README.adoc Port the build to Gradle 5 years ago
build.gradle Port the build to Gradle 5 years ago
settings.gradle Port the build to Gradle 5 years ago

README.adoc

= 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}'
}
----