diff --git a/_includes/build.gradle b/_includes/build.gradle index ba6e9ad..9e0e1b6 100644 --- a/_includes/build.gradle +++ b/_includes/build.gradle @@ -8,11 +8,11 @@ apply plugin: "io.spring.dependency-management" dependencyManagement { imports { - mavenBom 'org.springframework.cloud:spring-cloud-starter-parent:Angel.SR3' + mavenBom '{@= groupId @}:{@= artifactId @}:{@= version @}' } } dependencies { - compile 'org.springframework.cloud:spring-cloud-starter-config' - compile 'org.springframework.cloud:spring-cloud-starter-eureka' + compile '{@= groupId @}:spring-cloud-starter-config' + compile '{@= groupId @}:spring-cloud-starter-eureka' } \ No newline at end of file diff --git a/_includes/pom.xml b/_includes/pom.xml index f69e337..2d00771 100644 --- a/_includes/pom.xml +++ b/_includes/pom.xml @@ -1,15 +1,15 @@ - org.springframework.cloud - spring-cloud-starter-parent - Angel.SR3 + {@= groupId @} + {@= artifactId @} + {@= version @} - org.springframework.cloud + {@= groupId @} spring-cloud-starter-config - org.springframework.cloud + {@= groupId @} spring-cloud-starter-eureka diff --git a/index.html b/index.html index 3e22e72..611b622 100644 --- a/index.html +++ b/index.html @@ -98,7 +98,8 @@ is a number. To use Spring Cloud in a traditional Java or Groovy project using Maven or Gradle, you can use the BOM only for dependency management or as a parent POM (Maven -only). Example using the latest version: +only). Example using the latest version with the config client and eureka (change the +artifact ids to pull in other starters): {% include download_widget.md %}