Upgrade to io.spring.dependency-management Gradle plugin 1.0.2.RELEASE

Apply io.spring.dependency-management Gradle plugin to all Boot samples to properly resolve Boot dependencies with implicit versioning
This commit is contained in:
John Blum
2017-04-21 23:21:39 -07:00
parent 83e5d6f2a7
commit 327323da38
9 changed files with 29 additions and 19 deletions

View File

@@ -4,16 +4,18 @@ buildscript {
maven { url "https://repo.spring.io/plugins-snapshot" }
}
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE'
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
}
}
apply plugin: 'org.springframework.boot'
apply from: JAVA_GRADLE
apply from: TOMCAT_7_GRADLE
apply from: SAMPLE_GRADLE
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'samples'
dependencies {