Document using system properties in gradle plugin docs

Closes gh-21317
This commit is contained in:
Madhura Bhave 2020-06-09 16:05:44 -07:00
parent 6597c0c7f7
commit 36faa1d42a
1 changed files with 9 additions and 0 deletions

View File

@ -89,6 +89,15 @@ See {gradle-api}/org/gradle/api/tasks/JavaExec.html#setArgsString-java.lang.Stri
[[running-your-application-passing-system-properties]]
=== Passing System properties to your application
Since `bootRun` is a standard `JavaExec` task, system properties can be passed to the application's JVM by specifying them in the build script.
The values can be parameterized and passed as properties on the command line using the `-P` flag.
See {gradle-api}/org/gradle/api/tasks/JavaExec.html#systemProperty-java.lang.String-java.lang.Object-[the javadoc for `JavaExec.systemProperty`] for further details.
[[running-your-application-reloading-resources]]
=== Reloading resources
If devtools has been added to your project it will automatically monitor your application for changes.