diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index bcbbcf54..2f0ee6db 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -319,22 +319,22 @@ Eureka background reading: see https://github.com/cfregly/fluxcapacitor/wiki/Net [TIP] ==== -Due to Gradle's dependency resolution rules and the lack of a parent bom feature, simply depending on spring-cloud-starter-eureka-server can cause failures on application startup. To remedy this the Spring dependency management plugin must be added and the Spring cloud starter parent bom must be imported like so: +Due to Gradle's dependency resolution rules and the lack of a parent bom feature, simply depending on spring-cloud-starter-eureka-server can cause failures on application startup. To remedy this the Spring Boot Gradle plugin must be added and the Spring cloud starter parent bom must be imported like so: .build.gradle [source,java,indent=0] ---- buildscript { dependencies { - classpath "io.spring.gradle:dependency-management-plugin:0.4.0.RELEASE" + classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.5.RELEASE") } } -apply plugin: "io.spring.dependency-management" +apply plugin: "spring-boot" dependencyManagement { imports { - mavenBom 'org.springframework.cloud:spring-cloud-starter-parent:1.0.0.RELEASE' + mavenBom "org.springframework.cloud:spring-cloud-dependencies:Brixton.RELEASE" } } ----