diff --git a/_includes/build.gradle b/_includes/build.gradle index 5821574..a7604b3 100644 --- a/_includes/build.gradle +++ b/_includes/build.gradle @@ -1,3 +1,17 @@ +buildscript { + dependencies { + classpath "io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE" + } +} + +apply plugin: "io.spring.dependency-management" + +dependencyManagement { + imports { + mavenBom '{@= groupId @}:spring-cloud-bus:{@= version @}' + } +} + dependencies { - compile '{@= groupId @}:spring-cloud-starter-bus-amqp:{@= version @}' + compile '{@= groupId @}:spring-cloud-starter-bus-amqp' } \ No newline at end of file diff --git a/_includes/pom.xml b/_includes/pom.xml index 1c88cbd..fcb327b 100644 --- a/_includes/pom.xml +++ b/_includes/pom.xml @@ -2,7 +2,7 @@ {@= groupId @} - spring-cloud-starters + spring-cloud-bus-parent {@= version @} pom import