You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto.adoc
+16-21
Original file line number
Diff line number
Diff line change
@@ -453,22 +453,19 @@ The following Maven example shows how to exclude Tomcat and include Jetty for Sp
453
453
454
454
NOTE: The version of the Servlet API has been overridden as, unlike Tomcat 9 and Undertow 2.0, Jetty 9.4 does not support Servlet 4.0.
455
455
456
-
The following Gradle example shows how to use Undertow in place of Reactor Netty for Spring WebFlux:
456
+
The following Gradle example configures the necessary dependencies and a {gradle-docs}/resolution_rules.html#sec:module_replacement[module replacement] to use Undertow in place of Reactor Netty for Spring WebFlux:
NOTE: `spring-boot-starter-reactor-netty` is required to use the `WebClient` class, so you may need to keep a dependency on Netty even when you need to include a different HTTP server.
@@ -1497,19 +1494,17 @@ The following example shows how to set up the starters in Maven:
1497
1494
</dependency>
1498
1495
----
1499
1496
1500
-
And the following example shows one way to set up the starters in Gradle:
1497
+
Gradle provides a few different ways to set up the starters.
1498
+
One way is to use a {gradle-docs}/resolution_rules.html#sec:module_replacement[module replacement].
1499
+
To do so, declare a dependency on the Log4j 2 starter and tell Gradle that any occurrences of the default logging starter should be replaced by the Log4j 2 starter, as shown in the following example:
0 commit comments