From 1b385283330885a46d7845a2de90b77a41cd54d5 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 3 Nov 2016 12:27:30 +0100 Subject: [PATCH] Polish doc Closes gh-7170 --- .../src/main/asciidoc/using-spring-boot.adoc | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index 4349656c8f0..ffbed6f5df1 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -768,9 +768,10 @@ applied to other modules using your project. Gradle does not support `optional` dependencies out-of-the-box so you may want to have a look to the {propdeps-plugin}[`propdeps-plugin`] in the meantime. -TIP: repackaged archives do not contain devtools by default. If you want to use certain -remote devtools feature, you'll need to enable the `excludeDevtools` build property to -include it. The property is supported with both the Maven and Gradle plugins. +TIP: repackaged archives do not contain devtools by default. If you want to use +<>, you'll need to enable the +`excludeDevtools` build property to include it. The property is supported with both the +Maven and Gradle plugins. @@ -1020,7 +1021,24 @@ the following: === Remote applications The Spring Boot developer tools are not just limited to local development. You can also use several features when running applications remotely. Remote support is opt-in, to -enable it you need to set a `spring.devtools.remote.secret` property. For example: +enable it you need to make sure that `devtools` is included in the repackaged archive: + +[source,xml,indent=0,subs="verbatim,quotes,attributes"] +---- + + + + org.springframework.boot + spring-boot-maven-plugin + + false + + + + +---- + +Then you need to set a `spring.devtools.remote.secret` property, for example: [source,properties,indent=0] ----