diff --git a/_includes/build.gradle b/_includes/build.gradle index b0ed72bb..0aa945f9 100644 --- a/_includes/build.gradle +++ b/_includes/build.gradle @@ -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') +} +