Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spring-boot-project/spring-boot-actuator/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For Gradle, use the following declaration:
[indent=0]
----
dependencies {
compile("org.springframework.boot:spring-boot-starter-actuator")
implementation 'org.springframework.boot:spring-boot-starter-actuator'
}
----

Expand Down
24 changes: 10 additions & 14 deletions spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -448,15 +448,12 @@ The following Gradle example shows how to exclude Netty and include Undertow for

[source,groovy,indent=0,subs="verbatim,quotes,attributes"]
----
configurations {
// exclude Reactor Netty
compile.exclude module: 'spring-boot-starter-reactor-netty'
}

dependencies {
compile 'org.springframework.boot:spring-boot-starter-webflux'
implementation('org.springframework.boot:spring-boot-starter-webflux') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-reactor-netty'
}
// Use Undertow instead
compile 'org.springframework.boot:spring-boot-starter-undertow'
implementation 'org.springframework.boot:spring-boot-starter-undertow'
// ...
}
----
Expand Down Expand Up @@ -1435,8 +1432,8 @@ And the following example shows one way to set up the starters in Gradle:
[source,groovy,indent=0,subs="verbatim,quotes,attributes"]
----
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-log4j2'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-log4j2'
}

configurations {
Expand Down Expand Up @@ -2898,12 +2895,11 @@ The following example shows how to do so in Gradle:

[source,groovy,indent=0,subs="verbatim,quotes,attributes"]
----
configurations {
compile.exclude module: "lettuce"
}

dependencies {
compile("redis.clients:jedis")
implementation('org.springframework.boot:spring-boot-starter-data-redis') {
exclude group: 'io.lettuce', module: 'lettuce-core'
}
implementation 'redis.clients:jedis'
// ...
}
----
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ For Gradle, use the following declaration:
[source,groovy,indent=0]
----
dependencies {
compile("org.springframework.boot:spring-boot-starter-actuator")
implementation 'org.springframework.boot:spring-boot-starter-actuator'
}
----

Expand Down