Add dependency mgmt plugin.

This commit is contained in:
Spencer Gibb
2016-04-04 15:07:14 -06:00
parent 77fc9bbfb3
commit 411eb040d9

View File

@@ -1,11 +1,19 @@
dependencies {
compile('{@= groupId @}:spring-cloud-starter-consul-all')
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:0.5.6.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom "{@= groupId @}:spring-cloud-dependencies:{@= version @}"
}
}
dependencies {
compile('{@= groupId @}:spring-cloud-starter-consul-all')
}