From 411eb040d9a133affb5c0ce4e271a4f17f6e46b5 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Mon, 4 Apr 2016 15:07:14 -0600 Subject: [PATCH] Add dependency mgmt plugin. --- _includes/build.gradle | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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') +} +