plugin apply Spring Boot plugin (org.springframework.boot:spring-boot-gradle-plugin
) and import as mavenBom org.springframework.boot:spring-boot-dependencies
If the springBootVersion
property is not found in the project, then the latest.release
value is used.
scope | dependencies |
---|---|
compileOnly | org.springframework.boot:spring-boot-configuration-processor |
testCompile | org.springframework.boot:spring-boot-starter-test |
The plugin explicitly indicates the dependency of the compileJava
task on the processResources
itbasis:java-module-gradle-plugin
- Custom Spring Boot version using extra-property: 1.5.2.RELEASE (build.gradle), 1.5.3.BUILD-SNAPSHOT (build.gradle)
- Custom Spring Boot version using properties file: 1.5.2.RELEASE (build.gradle + gradle.properties), 1.5.3.BUILD-SNAPSHOT (build.gradle + gradle.properties)