diff --git a/_includes/build.gradle b/_includes/build.gradle index a69941d4..74c79ad4 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-config:{@= version @}' + } +} + dependencies { - compile '{@= groupId @}:spring-cloud-config-client:{@= version @}' + compile '{@= groupId @}:spring-cloud-starter-config' } \ No newline at end of file diff --git a/_includes/pom.xml b/_includes/pom.xml index b818af7f..baf4bb4c 100644 --- a/_includes/pom.xml +++ b/_includes/pom.xml @@ -1,7 +1,17 @@ + + + + {@= groupId @} + spring-cloud-config + {@= version @} + pom + import + + + {@= groupId @} - spring-cloud-config-client - {@= version @} + spring-cloud-starter-config