Skip to content

Commit a9681ea

Browse files
committed
Add note to explain that bootRun ignores output from processResources
Closes gh-1739
1 parent c3d2fb5 commit a9681ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,12 @@ To run a project in place without building a jar first you can use the "`bootRun
372372
Running this way makes your static classpath resources (i.e. in `src/main/resources` by
373373
default) reloadable in the live application, which can be helpful at development time.
374374

375+
NOTE: Making static classpath resources reloadable means that `bootRun` does not use the
376+
output of the `processResources` task. When invoked using `bootRun` your application will
377+
use the resources in their unprocessed form.
378+
379+
380+
375381
[[build-tool-plugins-gradle-global-configuration]]
376382
=== Spring Boot plugin configuration
377383
The gradle plugin automatically extends your build script DSL with a `springBoot` element

0 commit comments

Comments
 (0)