You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by as...@apache.org on 2026/06/26 01:44:13 UTC

(grails-website) branch asf-site-production updated: Deploying to documentation branch - 01:43:57

This is an automated email from the ASF dual-hosted git repository.

asf-ci-deploy pushed a commit to branch asf-site-production
in repository https://gitbox.apache.org/repos/asf/grails-website.git


The following commit(s) were added to refs/heads/asf-site-production by this push:
     new 40d3088bdbe Deploying to documentation branch - 01:43:57
40d3088bdbe is described below

commit 40d3088bdbefea6931d5f01babf90038e09db130
Author: jamesfredley <ja...@users.noreply.github.com>
AuthorDate: Fri Jun 26 01:43:59 2026 +0000

    Deploying to documentation branch - 01:43:57
---
 docs/snapshot/api/allclasses-frame.html            |   4 +
 docs/snapshot/api/grails/boot/GrailsApp.html       |  44 +-
 .../GrailsApplicationContextCommandRunner.html     |   2 +-
 .../api/grails/ui/console/GrailsSwingConsole.html  |   2 +-
 .../ui/script/GrailsApplicationScriptRunner.html   |   2 +-
 docs/snapshot/api/grails/ui/shell/GrailsShell.html |   2 +-
 .../ui/support/DevelopmentGrailsApplication.html   |   2 +-
 docs/snapshot/api/index-all.html                   |  65 +++
 .../RunningApplicationProcess.StopResult.html      | 357 +++++++++++++++
 .../cli/gradle/RunningApplicationProcess.html      | 500 +++++++++++++++++++++
 .../api/org/grails/cli/gradle/package-frame.html   |  10 +-
 .../api/org/grails/cli/gradle/package-summary.html |  34 ++
 .../plugin/core/BootRunExitCodeVerifier.html}      | 109 ++---
 .../gradle/plugin/core/GrailsGradlePlugin.html     |  68 +--
 .../plugin/core/GrailsPluginGradlePlugin.html      |   2 +-
 .../gradle/plugin/core/RunAppPidFileProvider.html} | 173 ++++---
 .../grails/gradle/plugin/core/package-frame.html   |   2 +-
 .../grails/gradle/plugin/core/package-summary.html |  17 +
 .../gradle/plugin/web/GrailsWebGradlePlugin.html   |   2 +-
 .../developer-manual/gettingStarted.html           |   2 +-
 .../grails-data/developer-manual/introduction.html |   2 +-
 .../grails-data/developer-manual/stepByStep.html   |   2 +-
 .../grails-data/developer-manual/testing.html      |   2 +-
 .../developer-manual/understandingApi.html         |   2 +-
 .../understandingApi/datastoreBasics.html          |   2 +-
 .../understandingApi/gormApis.html                 |   2 +-
 .../understandingApi/gormEnhancer.html             |   2 +-
 .../understandingApi/implementingCrud.html         |   2 +-
 .../understandingApi/implementingQueries.html      |   2 +-
 .../understandingApi/secondaryIndexes.html         |   2 +-
 .../grails-data/whats-new-manual/index.html        |   2 +-
 docs/snapshot/guide/gettingStarted.html            |   4 +-
 docs/snapshot/guide/single.html                    |  29 +-
 docs/snapshot/guide/upgrading.html                 |  25 ++
 docs/snapshot/ref/Command Line/stop-app.html       |  42 +-
 35 files changed, 1309 insertions(+), 212 deletions(-)

diff --git a/docs/snapshot/api/allclasses-frame.html b/docs/snapshot/api/allclasses-frame.html
index 2e0b827c0d2..b57635c8340 100644
--- a/docs/snapshot/api/allclasses-frame.html
+++ b/docs/snapshot/api/allclasses-frame.html
@@ -303,6 +303,7 @@
 <li><a href="org/apache/grails/data/testing/tck/domains/Book.html" title="class in org.apache.grails.data.testing.tck.domains" target="classFrame">Book</a></li>
 <li><a href="org/grails/scaffolding/registry/input/BooleanInputRenderer.html" title="class in org.grails.scaffolding.registry.input" target="classFrame">BooleanInputRenderer</a></li>
 <li><a href="org/grails/compiler/boot/BootInitializerClassInjector.html" title="class in org.grails.compiler.boot" target="classFrame">BootInitializerClassInjector</a></li>
+<li><a href="org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html" title="class in org.grails.gradle.plugin.core" target="classFrame">BootRunExitCodeVerifier</a></li>
 <li><a href="org/grails/plugins/web/servlet/context/BootStrapClassRunner.html" title="class in org.grails.plugins.web.servlet.context" target="classFrame">BootStrapClassRunner</a></li>
 <li><a href="org/grails/web/servlet/boostrap/BootstrapArtefactHandler.html" title="class in org.grails.web.servlet.boostrap" target="classFrame">BootstrapArtefactHandler</a></li>
 <li><a href="org/grails/async/factory/BoundPromise.html" title="class in org.grails.async.factory" target="classFrame">BoundPromise</a></li>
@@ -2779,10 +2780,13 @@
 <li><a href="org/grails/orm/hibernate/cfg/domainbinding/binder/RootBinder.html" title="class in org.grails.orm.hibernate.cfg.domainbinding.binder" target="classFrame">RootBinder</a></li>
 <li><a href="grails/init/RootMetadataHandler.html" title="class in grails.init" target="classFrame">RootMetadataHandler</a></li>
 <li><a href="org/grails/orm/hibernate/cfg/domainbinding/binder/RootPersistentClassCommonValuesBinder.html" title="class in org.grails.orm.hibernate.cfg.domainbinding.binder" target="classFrame">RootPersistentClassCommonValuesBinder</a></li>
+<li><a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html" title="class in org.grails.gradle.plugin.core" target="classFrame">RunAppPidFileProvider</a></li>
 <li><a href="org/grails/cli/command/run/RunCommand.html" title="class in org.grails.cli.command.run" target="classFrame">RunCommand</a></li>
 <li><a href="grails/testing/spock/RunOnce.html" title="annotation type in grails.testing.spock" target="classFrame">RunOnce</a></li>
 <li><a href="org/grails/testing/spock/RunOnceExtension.html" title="class in org.grails.testing.spock" target="classFrame">RunOnceExtension</a></li>
 <li><a href="org/grails/testing/spock/RunOnceInterceptor.html" title="class in org.grails.testing.spock" target="classFrame">RunOnceInterceptor</a></li>
+<li><a href="org/grails/cli/gradle/RunningApplicationProcess.html" title="class in org.grails.cli.gradle" target="classFrame">RunningApplicationProcess</a></li>
+<li><a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html" title="enum in org.grails.cli.gradle.RunningApplicationProcess" target="classFrame">RunningApplicationProcess.StopResult</a></li>
 <li><a href="org/grails/spring/RuntimeSpringConfigUtilities.html" title="class in org.grails.spring" target="classFrame">RuntimeSpringConfigUtilities</a></li>
 <li><a href="org/grails/spring/RuntimeSpringConfiguration.html" title="interface in org.grails.spring" target="classFrame"><I>RuntimeSpringConfiguration</I></a></li>
 <li><a href="org/grails/datastore/gorm/internal/RuntimeSupport.html" title="class in org.grails.datastore.gorm.internal" target="classFrame">RuntimeSupport</a></li>
diff --git a/docs/snapshot/api/grails/boot/GrailsApp.html b/docs/snapshot/api/grails/boot/GrailsApp.html
index 37225291d92..d74cc32ac3c 100644
--- a/docs/snapshot/api/grails/boot/GrailsApp.html
+++ b/docs/snapshot/api/grails/boot/GrailsApp.html
@@ -242,72 +242,80 @@ extends <a href='../../org.springframework.boot.SpringApplication.html'>SpringAp
                         <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
-                            <td class="colLast"><code><strong><a href="#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)">configureDirectoryWatcher</a></strong>(<a href='../../org/grails/io/watch/DirectoryWatcher.html'>DirectoryWatcher</a> directoryWatcher, java.lang.String location)</code><br></td>
+                            <td class="colLast"><code><strong><a href="#configureCliPidFileWriter()">configureCliPidFileWriter</a></strong>()</code><br>Registers a Spring Boot ApplicationPidFileWriter when the CLI has supplied a PID file
+ path through the <CODE>grails.cli.pid.file</CODE> system property, so the forked development
+ application writes its own process id to the location the <CODE>stop-app</CODE> command reads.</td>
                         </tr>
                         
                         <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
-                            <td class="colLast"><code><strong><a href="#configureEnvironment(org.springframework.core.env.ConfigurableEnvironment, java.lang.String)">configureEnvironment</a></strong>(<a href='../../org.springframework.core.env.ConfigurableEnvironment.html'>ConfigurableEnvironment</a> environment, java.lang.String[] args)</code><br></td>
+                            <td class="colLast"><code><strong><a href="#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)">configureDirectoryWatcher</a></strong>(<a href='../../org/grails/io/watch/DirectoryWatcher.html'>DirectoryWatcher</a> directoryWatcher, java.lang.String location)</code><br></td>
                         </tr>
                         
                         <tr class="rowColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>protected&nbsp;void</code></td>
+                            <td class="colLast"><code><strong><a href="#configureEnvironment(org.springframework.core.env.ConfigurableEnvironment, java.lang.String)">configureEnvironment</a></strong>(<a href='../../org.springframework.core.env.ConfigurableEnvironment.html'>ConfigurableEnvironment</a> environment, java.lang.String[] args)</code><br></td>
+                        </tr>
+                        
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;<a href='../../org.springframework.context.ConfigurableApplicationContext.html'>ConfigurableApplicationContext</a></code></td>
                             <td class="colLast"><code><strong><a href="#createApplicationContext()">createApplicationContext</a></strong>()</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;static&nbsp;<a href='../../org/grails/io/watch/DirectoryWatcher.FileChangeListener.html'>FileChangeListener</a></code></td>
                             <td class="colLast"><code><strong><a href="#createPluginManagerListener(org.springframework.context.ConfigurableApplicationContext)">createPluginManagerListener</a></strong>(<a href='../../org.springframework.context.ConfigurableApplicationContext.html'>ConfigurableApplicationContext</a> applicationContext)</code><br>Creates and returns a file change listener for notifying the plugin manager of changes.</td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#enableDevelopmentModeWatch(grails.util.Environment, org.springframework.context.ConfigurableApplicationContext, java.lang.String)">enableDevelopmentModeWatch</a></strong>(<a href='../../grails/util/Environment.html'>Environment</a> environment, <a href='../../org.springframework.context.ConfigurableApplicationContext.html'>ConfigurableApplicationContext</a> applicationContext, java.lang.String[] args)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>static&nbsp;boolean</code></td>
                             <td class="colLast"><code><strong><a href="#isDevelopmentModeActive()">isDevelopmentModeActive</a></strong>()</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;java.lang.Object</code></td>
                             <td class="colLast"><code><strong><a href="#printRunStatus(org.springframework.context.ConfigurableApplicationContext)">printRunStatus</a></strong>(<a href='../../org.springframework.context.ConfigurableApplicationContext.html'>ConfigurableApplicationContext</a> applicationContext)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#recompile(java.io.File, org.codehaus.groovy.control.CompilerConfiguration, java.lang.String)">recompile</a></strong>(java.io.File changedFile, org.codehaus.groovy.control.CompilerConfiguration compilerConfig, java.lang.String location)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code><a href='../../org.springframework.context.ConfigurableApplicationContext.html'>ConfigurableApplicationContext</a></code></td>
                             <td class="colLast"><code><strong><a href="#run(java.lang.String)">run</a></strong>(java.lang.String[] args)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>static&nbsp;<a href='../../org.springframework.context.ConfigurableApplicationContext.html'>ConfigurableApplicationContext</a></code></td>
                             <td class="colLast"><code><strong><a href="#run(Class, java.lang.String)">run</a></strong>(java.lang.Class&lt;?&gt; source, java.lang.String[] args)</code><br>Static helper that can be used to run a <a href='../../grails/boot/GrailsApp.html' title='GrailsApp'>GrailsApp</a> from the
  specified source using default settings.</td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>static&nbsp;<a href='../../org.springframework.context.ConfigurableApplicationContext.html'>ConfigurableApplicationContext</a></code></td>
                             <td class="colLast"><code><strong><a href="#run(Class, java.lang.String)">run</a></strong>(java.lang.Class&lt;?&gt;[] sources, java.lang.String[] args)</code><br>Static helper that can be used to run a <a href='../../grails/boot/GrailsApp.html' title='GrailsApp'>GrailsApp</a> from the
  specified sources using default settings and user supplied arguments.</td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>static&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#setDevelopmentModeActive(boolean)">setDevelopmentModeActive</a></strong>(boolean active)</code><br></td>
@@ -419,6 +427,20 @@ extends <a href='../../org.springframework.boot.SpringApplication.html'>SpringAp
                             </li>
                         </ul>
                     
+                        <a name="configureCliPidFileWriter()"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>protected&nbsp;void <strong>configureCliPidFileWriter</strong>()</h4>
+                                <p> Registers a Spring Boot ApplicationPidFileWriter when the CLI has supplied a PID file
+ path through the <CODE>grails.cli.pid.file</CODE> system property, so the forked development
+ application writes its own process id to the location the <CODE>stop-app</CODE> command reads.
+
+ <p>The writer is registered before <CODE>super.run()</CODE> so it receives the early
+ <CODE>ApplicationPreparedEvent</CODE> that triggers the write. The property is only present on the
+ CLI/Gradle <CODE>run-app</CODE> path, so a normally deployed application is unaffected.</p></p>
+                            </li>
+                        </ul>
+                    
                         <a name="configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)"><!-- --></a>
                         <ul class="blockListLast">
                             <li class="blockList">
diff --git a/docs/snapshot/api/grails/ui/command/GrailsApplicationContextCommandRunner.html b/docs/snapshot/api/grails/ui/command/GrailsApplicationContextCommandRunner.html
index 8c9acf2831c..f4a7db88d06 100644
--- a/docs/snapshot/api/grails/ui/command/GrailsApplicationContextCommandRunner.html
+++ b/docs/snapshot/api/grails/ui/command/GrailsApplicationContextCommandRunner.html
@@ -244,7 +244,7 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
                         </tr>
                         <tr class="altColor">
                             <td class="colFirst"><code>class <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></code></td>
-                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grails/boot/GrailsApp.html#configureEnvironment(org.springframework.core.env.ConfigurableEnvironment, java.la [...]
+                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureCliPidFileWriter()'>configureCliPidFileWriter</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grai [...]
                         </tr>
                     </table>
                    </ul>
diff --git a/docs/snapshot/api/grails/ui/console/GrailsSwingConsole.html b/docs/snapshot/api/grails/ui/console/GrailsSwingConsole.html
index 4280e1865b8..81be2d23bae 100644
--- a/docs/snapshot/api/grails/ui/console/GrailsSwingConsole.html
+++ b/docs/snapshot/api/grails/ui/console/GrailsSwingConsole.html
@@ -233,7 +233,7 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
                         
                         <tr class="altColor">
                             <td class="colFirst"><code>class <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></code></td>
-                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grails/boot/GrailsApp.html#configureEnvironment(org.springframework.core.env.ConfigurableEnvironment, java.la [...]
+                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureCliPidFileWriter()'>configureCliPidFileWriter</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grai [...]
                         </tr>
                     </table>
                    </ul>
diff --git a/docs/snapshot/api/grails/ui/script/GrailsApplicationScriptRunner.html b/docs/snapshot/api/grails/ui/script/GrailsApplicationScriptRunner.html
index ffa6fe8f0f1..262b33bb814 100644
--- a/docs/snapshot/api/grails/ui/script/GrailsApplicationScriptRunner.html
+++ b/docs/snapshot/api/grails/ui/script/GrailsApplicationScriptRunner.html
@@ -216,7 +216,7 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
                         </tr>
                         <tr class="altColor">
                             <td class="colFirst"><code>class <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></code></td>
-                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grails/boot/GrailsApp.html#configureEnvironment(org.springframework.core.env.ConfigurableEnvironment, java.la [...]
+                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureCliPidFileWriter()'>configureCliPidFileWriter</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grai [...]
                         </tr>
                     </table>
                    </ul>
diff --git a/docs/snapshot/api/grails/ui/shell/GrailsShell.html b/docs/snapshot/api/grails/ui/shell/GrailsShell.html
index 87b61300699..2fc68f97cc3 100644
--- a/docs/snapshot/api/grails/ui/shell/GrailsShell.html
+++ b/docs/snapshot/api/grails/ui/shell/GrailsShell.html
@@ -234,7 +234,7 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
                         
                         <tr class="altColor">
                             <td class="colFirst"><code>class <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></code></td>
-                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grails/boot/GrailsApp.html#configureEnvironment(org.springframework.core.env.ConfigurableEnvironment, java.la [...]
+                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureCliPidFileWriter()'>configureCliPidFileWriter</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grai [...]
                         </tr>
                     </table>
                    </ul>
diff --git a/docs/snapshot/api/grails/ui/support/DevelopmentGrailsApplication.html b/docs/snapshot/api/grails/ui/support/DevelopmentGrailsApplication.html
index c016443d6d6..fbedc3d784b 100644
--- a/docs/snapshot/api/grails/ui/support/DevelopmentGrailsApplication.html
+++ b/docs/snapshot/api/grails/ui/support/DevelopmentGrailsApplication.html
@@ -208,7 +208,7 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
                         
                         <tr class="altColor">
                             <td class="colFirst"><code>class <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></code></td>
-                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grails/boot/GrailsApp.html#configureEnvironment(org.springframework.core.env.ConfigurableEnvironment, java.la [...]
+                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureCliPidFileWriter()'>configureCliPidFileWriter</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grai [...]
                         </tr>
                     </table>
                    </ul>
diff --git a/docs/snapshot/api/index-all.html b/docs/snapshot/api/index-all.html
index 6420f96f4b9..c182607cab8 100644
--- a/docs/snapshot/api/index-all.html
+++ b/docs/snapshot/api/index-all.html
@@ -2485,6 +2485,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/gradle/plugin/core/GrailsAppBaseDirProvider.html#asArguments()" title="Method in GrailsAppBaseDirProvider">asArguments()</a></span> - Method in <a href="org/grails/gradle/plugin/core/GrailsAppBaseDirProvider.html">GrailsAppBaseDirProvider</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html#asArguments()" title="Method in RunAppPidFileProvider">asArguments()</a></span> - Method in <a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html">RunAppPidFileProvider</a>
+</dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="grails/mongodb/geo/Point.html#asArray()" title="Method in Point">asArray()</a></span> - Method in <a href="grails/mongodb/geo/Point.html">Point</a>
 </dt><dd> <div class="block"> <DL><DT><B>Returns:</B></DT><DD>An array representation of the point</DD></DL></div></dd>
 <dt><span class="strong"><a href="grails/util/AbstractTypeConvertingMap.html#asBoolean()" title="Method in AbstractTypeConvertingMap">asBoolean()</a></span> - Method in <a href="grails/util/AbstractTypeConvertingMap.html">AbstractTypeConvertingMap</a>
@@ -3785,6 +3787,10 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd><div class="block">A transformation that automatically produces a Spring servlet initializer for a class that extends GrailsConfiguration. </div></dd>
 <dt><span class="strong"><a href="org/grails/compiler/boot/BootInitializerClassInjector.html#BootInitializerClassInjector()" title="Constructor in BootInitializerClassInjector">BootInitializerClassInjector()</a></span> - Constructor in <a href="org/grails/compiler/boot/BootInitializerClassInjector.html">BootInitializerClassInjector</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html" title="Class in org.grails.gradle.plugin.core">BootRunExitCodeVerifier</a></span> - Class in <a href="./org/grails/gradle/plugin/core/package-summary.html">org.grails.gradle.plugin.core</a>
+</dt><dd><div class="block">A <CODE>bootRun</CODE> <CODE>doLast</CODE> action that treats a deliberate stop as a successful build.</div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html#BootRunExitCodeVerifier()" title="Constructor in BootRunExitCodeVerifier">BootRunExitCodeVerifier()</a></span> - Constructor in <a href="org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html">BootRunExitCodeVerifier</a>
+</dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/web/servlet/boostrap/BootstrapArtefactHandler.html" title="Class in org.grails.web.servlet.boostrap">BootstrapArtefactHandler</a></span> - Class in <a href="./org/grails/web/servlet/boostrap/package-summary.html">org.grails.web.servlet.boostrap</a>
 </dt><dd><div class="block"> <DL><DT><B>Authors:</B></DT><DD>Marc Palmer (marc@anyware.co.uk)</DD></DL></div></dd>
 <dt><span class="strong"><a href="org/grails/web/servlet/boostrap/BootstrapArtefactHandler.html#BootstrapArtefactHandler()" title="Constructor in BootstrapArtefactHandler">BootstrapArtefactHandler()</a></span> - Constructor in <a href="org/grails/web/servlet/boostrap/BootstrapArtefactHandler.html">BootstrapArtefactHandler</a>
@@ -5619,6 +5625,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block">Clear a property in a session.</div></dd>
 <dt><span class="strong"><a href="org/grails/datastore/mapping/core/Session.html#clearSessionProperty(java.lang.String)" title="Method in Session">clearSessionProperty(java.lang.String)</a></span> - Method in <a href="org/grails/datastore/mapping/core/Session.html">Session</a>
 </dt><dd> <div class="block">Clear a property in a session.</div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#clearStopRequest(java.io.File)" title="Method in RunningApplicationProcess">clearStopRequest(java.io.File)</a></span> - Method in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block">Removes any pending <CODE>stop-app</CODE> shutdown marker for the project.</div></dd>
 <dt><span class="strong"><a href="org/grails/orm/hibernate/cfg/GrailsNamedStrategyContributor.html#clearStrategyImplementations(org.hibernate.boot.registry.selector.spi.NamedStrategyContributions)" title="Method in GrailsNamedStrategyContributor">clearStrategyImplementations(org.hibernate.boot.registry.selector.spi.NamedStrategyContributions)</a></span> - Method in <a href="org/grails/orm/hibernate/cfg/GrailsNamedStrategyContributor.html">GrailsNamedStrategyContributor</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="grails/plugin/cache/GrailsCacheAdminService.html#clearTemplatesCache()" title="Method in GrailsCacheAdminService">clearTemplatesCache()</a></span> - Method in <a href="grails/plugin/cache/GrailsCacheAdminService.html">GrailsCacheAdminService</a>
@@ -6775,8 +6783,14 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.html#configureAstSources(org.gradle.api.Project)" title="Method in GrailsPluginGradlePlugin">configureAstSources(org.gradle.api.Project)</a></span> - Method in <a href="org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.html">GrailsPluginGradlePlugin</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/GrailsGradlePlugin.html#configureBootRunPidFile(org.gradle.api.Project)" title="Method in GrailsGradlePlugin">configureBootRunPidFile(org.gradle.api.Project)</a></span> - Method in <a href="org/grails/gradle/plugin/core/GrailsGradlePlugin.html">GrailsGradlePlugin</a>
+</dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/apache/grails/buildsrc/GrailsCodeStylePlugin.html#configureCheckstyle(org.gradle.api.Project)" title="Method in GrailsCodeStylePlugin">configureCheckstyle(org.gradle.api.Project)</a></span> - Method in <a href="org/apache/grails/buildsrc/GrailsCodeStylePlugin.html">GrailsCodeStylePlugin</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="grails/boot/GrailsApp.html#configureCliPidFileWriter()" title="Method in GrailsApp">configureCliPidFileWriter()</a></span> - Method in <a href="grails/boot/GrailsApp.html">GrailsApp</a>
+</dt><dd> <div class="block">Registers a Spring Boot ApplicationPidFileWriter when the CLI has supplied a PID file
+ path through the <CODE>grails.cli.pid.file</CODE> system property, so the forked development
+ application writes its own process id to the location the <CODE>stop-app</CODE> command reads.</div></dd>
 <dt><span class="strong"><a href="org/grails/encoder/CodecMetaClassSupport.html#configureCodecMethods(org.grails.encoder.CodecFactory, boolean, List<ExpandoMetaClass>)" title="Method in CodecMetaClassSupport">configureCodecMethods(org.grails.encoder.CodecFactory, boolean, List&lt;ExpandoMetaClass&gt;)</a></span> - Method in <a href="org/grails/encoder/CodecMetaClassSupport.html">CodecMetaClassSupport</a>
 </dt><dd> <div class="block">Adds "encodeAs*" and "decode*" metamethods for given codecClass</div></dd>
 <dt><span class="strong"><a href="org/grails/commons/DefaultGrailsCodecClass.html#configureCodecMethods()" title="Method in DefaultGrailsCodecClass">configureCodecMethods()</a></span> - Method in <a href="org/grails/commons/DefaultGrailsCodecClass.html">DefaultGrailsCodecClass</a>
@@ -14131,6 +14145,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/gradle/plugin/views/AbstractGroovyTemplateCompileTask.1.html#execute(org.gradle.process.JavaExecSpec)" title="Method in AbstractGroovyTemplateCompileTask.1">execute(org.gradle.process.JavaExecSpec)</a></span> - Method in <a href="org/grails/gradle/plugin/views/AbstractGroovyTemplateCompileTask.1.html">AbstractGroovyTemplateCompileTask.1</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html#execute(org.gradle.api.Task)" title="Method in BootRunExitCodeVerifier">execute(org.gradle.api.Task)</a></span> - Method in <a href="org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html">BootRunExitCodeVerifier</a>
+</dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/cli/gradle/ClasspathBuildAction.html#execute(org.gradle.tooling.BuildController)" title="Method in ClasspathBuildAction">execute(org.gradle.tooling.BuildController)</a></span> - Method in <a href="org/grails/cli/gradle/ClasspathBuildAction.html">ClasspathBuildAction</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/datastore/mapping/core/DatastoreUtils.html#execute(org.grails.datastore.mapping.core.Datastore, org.grails.datastore.mapping.core.VoidSessionCallback)" title="Method in DatastoreUtils">execute(org.grails.datastore.mapping.core.Datastore, org.grails.datastore.mapping.core.VoidSessionCallback)</a></span> - Method in <a href="org/grails/datastore/mapping/core/DatastoreUtils.html">DatastoreUtils</a>
@@ -31295,6 +31311,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/plugins/datasource/EmbeddedDatabaseShutdownHook.html#isRunning()" title="Method in EmbeddedDatabaseShutdownHook">isRunning()</a></span> - Method in <a href="org/grails/plugins/datasource/EmbeddedDatabaseShutdownHook.html">EmbeddedDatabaseShutdownHook</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#isRunning(java.io.File)" title="Method in RunningApplicationProcess">isRunning(java.io.File)</a></span> - Method in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block"> <DL><DT><B>Parameters:</B></DT><DD><code>pidFile</code> -  the PID file</DD></DL></div></dd>
 <dt><span class="strong"><a href="org/grails/core/util/StopWatch.html#isRunning()" title="Method in StopWatch">isRunning()</a></span> - Method in <a href="org/grails/core/util/StopWatch.html">StopWatch</a>
 </dt><dd> <div class="block">Return whether the stop watch is currently running.</div></dd>
 <dt><span class="strong"><a href="org/grails/encoder/AbstractCharReplacementEncoder.html#isSafe()" title="Method in AbstractCharReplacementEncoder">isSafe()</a></span> - Method in <a href="org/grails/encoder/AbstractCharReplacementEncoder.html">AbstractCharReplacementEncoder</a>
@@ -31437,6 +31455,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="grails/util/GrailsClassUtils.html#isStaticProperty(java.lang.Class, java.lang.String)" title="Method in GrailsClassUtils">isStaticProperty(java.lang.Class, java.lang.String)</a></span> - Method in <a href="grails/util/GrailsClassUtils.html">GrailsClassUtils</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#isStopRequested(java.io.File)" title="Method in RunningApplicationProcess">isStopRequested(java.io.File)</a></span> - Method in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block"> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL></div></dd>
 <dt><span class="strong"><a href="grails/plugin/json/view/api/internal/DefaultJsonViewHelper.html#isStringType(java.lang.Class)" title="Method in DefaultJsonViewHelper">isStringType(java.lang.Class)</a></span> - Method in <a href="grails/plugin/json/view/api/internal/DefaultJsonViewHelper.html">DefaultJsonViewHelper</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/datastore/mapping/reflect/AstUtils.html#isSubclassOf(org.codehaus.groovy.ast.ClassNode, java.lang.String)" title="Method in AstUtils">isSubclassOf(org.codehaus.groovy.ast.ClassNode, java.lang.String)</a></span> - Method in <a href="org/grails/datastore/mapping/reflect/AstUtils.html">AstUtils</a>
@@ -33105,6 +33125,9 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd><div class="block">Refactored from CollectionBinder to handle list second pass binding.</div></dd>
 <dt><span class="strong"><a href="org/grails/orm/hibernate/cfg/domainbinding/secondpass/ListSecondPassBinder.html#ListSecondPassBinder(org.hibernate.boot.spi.MetadataBuildingContext, org.grails.orm.hibernate.cfg.PersistentEntityNamingStrategy, org.grails.orm.hibernate.cfg.domainbinding.secondpass.CollectionSecondPassBinder, org.grails.orm.hibernate.cfg.domainbinding.binder.SimpleValueColumnBinder, org.hibernate.boot.spi.InFlightMetadataCollector)" title="Constructor in ListSecondPassBind [...]
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#liveProcess(java.io.File)" title="Method in RunningApplicationProcess">liveProcess(java.io.File)</a></span> - Method in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block">Resolves the live application process described by the PID file, applying a guard against
+ recycled process ids.</div></dd>
 <dt><span class="strong"><a href="org/grails/orm/hibernate/AbstractHibernateGormStaticApi.html#load(java.io.Serializable)" title="Method in AbstractHibernateGormStaticApi">load(java.io.Serializable)</a></span> - Method in <a href="org/grails/orm/hibernate/AbstractHibernateGormStaticApi.html">AbstractHibernateGormStaticApi</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/datastore/gorm/GormEntity.html#load(java.io.Serializable)" title="Method in GormEntity">load(java.io.Serializable)</a></span> - Method in <a href="org/grails/datastore/gorm/GormEntity.html">GormEntity</a>
@@ -34516,6 +34539,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/gorm/graphql/entity/operations/OperationType.html#MAX_VALUE" title="Field in OperationType">MAX_VALUE</a></span> - Field in <a href="org/grails/gorm/graphql/entity/operations/OperationType.html">OperationType</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html#MAX_VALUE" title="Field in RunningApplicationProcess.StopResult">MAX_VALUE</a></span> - Field in <a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html">RunningApplicationProcess.StopResult</a>
+</dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/apache/grails/data/testing/tck/domains/TestEnum.html#MAX_VALUE" title="Field in TestEnum">MAX_VALUE</a></span> - Field in <a href="org/apache/grails/data/testing/tck/domains/TestEnum.html">TestEnum</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="grails/plugin/cache/CachePluginConfiguration.CacheConfig.html#maxCapacity" title="Property in CachePluginConfiguration.CacheConfig">maxCapacity</a></span> - Property in <a href="grails/plugin/cache/CachePluginConfiguration.CacheConfig.html">CachePluginConfiguration.CacheConfig</a>
@@ -35011,6 +35036,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/gorm/graphql/entity/operations/OperationType.html#MIN_VALUE" title="Field in OperationType">MIN_VALUE</a></span> - Field in <a href="org/grails/gorm/graphql/entity/operations/OperationType.html">OperationType</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html#MIN_VALUE" title="Field in RunningApplicationProcess.StopResult">MIN_VALUE</a></span> - Field in <a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html">RunningApplicationProcess.StopResult</a>
+</dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/apache/grails/data/testing/tck/domains/TestEnum.html#MIN_VALUE" title="Field in TestEnum">MIN_VALUE</a></span> - Field in <a href="org/apache/grails/data/testing/tck/domains/TestEnum.html">TestEnum</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/apache/grails/data/testing/tck/support/StaticCompiledCriteriaQueries.html#minAge()" title="Method in StaticCompiledCriteriaQueries">minAge()</a></span> - Method in <a href="org/apache/grails/data/testing/tck/support/StaticCompiledCriteriaQueries.html">StaticCompiledCriteriaQueries</a>
@@ -36338,6 +36365,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="grails/gorm/validation/ConstrainedProperty.html#NOT_PREFIX" title="Field in ConstrainedProperty">NOT_PREFIX</a></span> - Field in <a href="grails/gorm/validation/ConstrainedProperty.html">ConstrainedProperty</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html#NOT_RUNNING" title="Enum Constant in RunningApplicationProcess.StopResult">NOT_RUNNING</a></span> - Enum Constant in <a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html">RunningApplicationProcess.StopResult</a>
+</dt><dd> <div class="block">No application started by <CODE>run-app</CODE> was running.</div></dd>
 <dt><span class="strong"><a href="grails/gsp/NotATag.html" title="Annotation Type in grails.gsp">NotATag</a></span> - Annotation Type in <a href="./grails/gsp/package-summary.html">grails.gsp</a>
 </dt><dd><div class="block">Marks a public method on a <CODE>TagLib</CODE> class as a helper that should not be
  exposed as a tag. </div></dd>
@@ -38269,6 +38298,12 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/datastore/gorm/internal/MethodInvokingClosure.html#pickMetaMethod(groovy.lang.MetaClass, java.lang.String, java.lang.Class, boolean)" title="Method in MethodInvokingClosure">pickMetaMethod(groovy.lang.MetaClass, java.lang.String, java.lang.Class, boolean)</a></span> - Method in <a href="org/grails/datastore/gorm/internal/MethodInvokingClosure.html">MethodInvokingClosure</a>
 </dt><dd> <div class="block">Utility method for choosing matching metamethod, handles MethodSelectionException</div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#PID_FILE_NAME" title="Property in RunningApplicationProcess">PID_FILE_NAME</a></span> - Property in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block">The name of the PID file written, relative to the project build directory.</div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html#pidFile" title="Property in RunAppPidFileProvider">pidFile</a></span> - Property in <a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html">RunAppPidFileProvider</a>
+</dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#pidFile(java.io.File)" title="Method in RunningApplicationProcess">pidFile(java.io.File)</a></span> - Method in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block"> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL></div></dd>
 <dt><span class="strong"><a href="org/grails/test/report/junit/JUnitReportsFactory.html#PLAIN" title="Field in JUnitReportsFactory">PLAIN</a></span> - Field in <a href="org/grails/test/report/junit/JUnitReportsFactory.html">JUnitReportsFactory</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/test/report/junit/PlainFormatter.html" title="Class in org.grails.test.report.junit">PlainFormatter</a></span> - Class in <a href="./org/grails/test/report/junit/package-summary.html">org.grails.test.report.junit</a>
@@ -39698,6 +39733,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/orm/hibernate/query/PropertyReference.html#propertyName" title="Property in PropertyReference">propertyName</a></span> - Property in <a href="org/grails/orm/hibernate/query/PropertyReference.html">PropertyReference</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html#propertyName" title="Property in RunAppPidFileProvider">propertyName</a></span> - Property in <a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html">RunAppPidFileProvider</a>
+</dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/gorm/graphql/fetcher/impl/SoftDeleteEntityDataFetcher.html#propertyName" title="Property in SoftDeleteEntityDataFetcher">propertyName</a></span> - Property in <a href="org/grails/gorm/graphql/fetcher/impl/SoftDeleteEntityDataFetcher.html">SoftDeleteEntityDataFetcher</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/apache/grails/gradle/tasks/bom/PropertyNameCalculator.html" title="Class in org.apache.grails.gradle.tasks.bom">PropertyNameCalculator</a></span> - Class in <a href="./org/apache/grails/gradle/tasks/bom/package-summary.html">org.apache.grails.gradle.tasks.bom</a>
@@ -40526,6 +40563,8 @@ if (location.href.indexOf('is-external=true') == -1) {
  </div></dd>
 <dt><span class="strong"><a href="org/grails/plugins/datasource/ReadOnlyDriverManagerDataSource.html" title="Class in org.grails.plugins.datasource">ReadOnlyDriverManagerDataSource</a></span> - Class in <a href="./org/grails/plugins/datasource/package-summary.html">org.grails.plugins.datasource</a>
 </dt><dd><div class="block">Used for secondary datasources that are read-only and not pooled.</div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#readPid(java.io.File)" title="Method in RunningApplicationProcess">readPid(java.io.File)</a></span> - Method in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block">Reads the process id recorded in the given PID file.</div></dd>
 <dt><span class="strong"><a href="org/apache/grails/core/plugins/PluginUtils.html#readPluginConfiguration(Class<?>)" title="Method in PluginUtils">readPluginConfiguration(Class&lt;?&gt;)</a></span> - Method in <a href="org/apache/grails/core/plugins/PluginUtils.html">PluginUtils</a>
 </dt><dd> <div class="block">Resolves the plugin configuration resource relative to the supplied plugin class.</div></dd>
 <dt><span class="strong"><a href="org/grails/orm/hibernate/AbstractHibernateGormValidationApi.html#readPreviousFlushMode(org.hibernate.Session)" title="Method in AbstractHibernateGormValidationApi">readPreviousFlushMode(org.hibernate.Session)</a></span> - Method in <a href="org/grails/orm/hibernate/AbstractHibernateGormValidationApi.html">AbstractHibernateGormValidationApi</a>
@@ -41525,6 +41564,10 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd><div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/web/mapping/DefaultLinkGenerator.html#requestStateLookupStrategy" title="Property in DefaultLinkGenerator">requestStateLookupStrategy</a></span> - Property in <a href="org/grails/web/mapping/DefaultLinkGenerator.html">DefaultLinkGenerator</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#requestStop(java.io.File)" title="Method in RunningApplicationProcess">requestStop(java.io.File)</a></span> - Method in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block">Records that a deliberate <CODE>stop-app</CODE> shutdown is in progress, so a foreground
+ <CODE>run-app</CODE> blocked on the <CODE>bootRun</CODE> build can distinguish an intentional stop
+ from a startup failure when its process is terminated.</div></dd>
 <dt><span class="strong"><a href="org/apache/grails/core/plugins/DefaultPluginDiscovery.html#requireClasspathPlugin" title="Field in DefaultPluginDiscovery">requireClasspathPlugin</a></span> - Field in <a href="org/apache/grails/core/plugins/DefaultPluginDiscovery.html">DefaultPluginDiscovery</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/cli/profile/CommandArgument.html#required" title="Property in CommandArgument">required</a></span> - Property in <a href="org/grails/cli/profile/CommandArgument.html">CommandArgument</a>
@@ -42541,6 +42584,11 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/cli/command/CommandRunner.html#runAndHandleErrors(java.lang.String)" title="Method in CommandRunner">runAndHandleErrors(java.lang.String)</a></span> - Method in <a href="org/grails/cli/command/CommandRunner.html">CommandRunner</a>
 </dt><dd> <div class="block">Run the appropriate and handle and errors.</div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html" title="Class in org.grails.gradle.plugin.core">RunAppPidFileProvider</a></span> - Class in <a href="./org/grails/gradle/plugin/core/package-summary.html">org.grails.gradle.plugin.core</a>
+</dt><dd><div class="block">Provides the <CODE>-Dgrails.cli.pid.file</CODE> system property to the forked <CODE>bootRun</CODE> JVM so
+ that the application writes its own PID to a known project local file. </div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html#RunAppPidFileProvider(java.lang.String, Provider<RegularFile>)" title="Constructor in RunAppPidFileProvider">RunAppPidFileProvider(java.lang.String, Provider&lt;RegularFile&gt;)</a></span> - Constructor in <a href="org/grails/gradle/plugin/core/RunAppPidFileProvider.html">RunAppPidFileProvider</a>
+</dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/cli/gradle/GradleUtil.html#runBuildActionWithConsoleOutput(org.gradle.tooling.ProjectConnection, org.grails.cli.profile.ProjectContext, BuildAction<T>, Closure<?>)" title="Method in GradleUtil">runBuildActionWithConsoleOutput(org.gradle.tooling.ProjectConnection, org.grails.cli.profile.ProjectContext, BuildAction&lt;T&gt;, Closure&lt;?&gt;)</a></span> - Method in <a href="org/grails/cli/gradle/GradleUtil.html">GradleUtil</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/cli/gradle/GradleUtil.html#runBuildWithConsoleOutput(org.grails.cli.profile.ExecutionContext, Closure<?>)" title="Method in GradleUtil">runBuildWithConsoleOutput(org.grails.cli.profile.ExecutionContext, Closure&lt;?&gt;)</a></span> - Method in <a href="org/grails/cli/gradle/GradleUtil.html">GradleUtil</a>
@@ -42551,6 +42599,10 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/cli/boot/SpringInvoker.html#runner" title="Property in SpringInvoker">runner</a></span> - Property in <a href="org/grails/cli/boot/SpringInvoker.html">SpringInvoker</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html" title="Class in org.grails.cli.gradle">RunningApplicationProcess</a></span> - Class in <a href="./org/grails/cli/gradle/package-summary.html">org.grails.cli.gradle</a>
+</dt><dd><div class="block">Locates and stops the Grails application started by the CLI <CODE>run-app</CODE> command.</div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html" title="Enum in org.grails.cli.gradle.RunningApplicationProcess">RunningApplicationProcess.StopResult</a></span> - Enum in <a href="./org/grails/cli/gradle/package-summary.html">org.grails.cli.gradle</a>
+</dt><dd><div class="block">The result of a <a href='#stop(java.io.File, long)'>stop(File, long)</a> request.</div></dd>
 <dt><span class="strong"><a href="grails/testing/spock/RunOnce.html" title="Annotation Type in grails.testing.spock">RunOnce</a></span> - Annotation Type in <a href="./grails/testing/spock/package-summary.html">grails.testing.spock</a>
 </dt><dd><div class="block">This annotation may be applied to fixture methods in a Spock Spec that should
  be run once and only.</div></dd>
@@ -47094,6 +47146,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/cli/profile/steps/DefaultStepFactory.html#steps" title="Property in DefaultStepFactory">steps</a></span> - Property in <a href="org/grails/cli/profile/steps/DefaultStepFactory.html">DefaultStepFactory</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html#STILL_RUNNING" title="Enum Constant in RunningApplicationProcess.StopResult">STILL_RUNNING</a></span> - Enum Constant in <a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html">RunningApplicationProcess.StopResult</a>
+</dt><dd> <div class="block">The application was found but had not stopped before the timeout elapsed.</div></dd>
 <dt><span class="strong"><a href="org/apache/grails/testing/cleanup/core/DatabaseCleanupStats.html#stop()" title="Method in DatabaseCleanupStats">stop()</a></span> - Method in <a href="org/apache/grails/testing/cleanup/core/DatabaseCleanupStats.html">DatabaseCleanupStats</a>
 </dt><dd> <div class="block">Stops the timer for individual schema/datasource cleanup.
  </div></dd>
@@ -47101,8 +47155,13 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="grails/plugin/geb/GrailsContainerGebExtension.html#stop()" title="Method in GrailsContainerGebExtension">stop()</a></span> - Method in <a href="grails/plugin/geb/GrailsContainerGebExtension.html">GrailsContainerGebExtension</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#STOP_MARKER_NAME" title="Property in RunningApplicationProcess">STOP_MARKER_NAME</a></span> - Property in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block">The name of the marker file, relative to the project build directory, that <CODE>stop-app</CODE>
+ writes to signal a deliberate shutdown.</div></dd>
 <dt><span class="strong"><a href="org/apache/grails/testing/mongo/MongoContainerHolder.html#stop()" title="Method in MongoContainerHolder">stop()</a></span> - Method in <a href="org/apache/grails/testing/mongo/MongoContainerHolder.html">MongoContainerHolder</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#stop(java.io.File, long)" title="Method in RunningApplicationProcess">stop(java.io.File, long)</a></span> - Method in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block">Stops the application recorded in the PID file and removes the file once the process is gone.</div></dd>
 <dt><span class="strong"><a href="org/grails/cli/command/run/SpringApplicationRunner.html#stop()" title="Method in SpringApplicationRunner">stop()</a></span> - Method in <a href="org/grails/cli/command/run/SpringApplicationRunner.html">SpringApplicationRunner</a>
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/apache/grails/testing/mongo/StartMongoGrailsIntegrationExtension.html#stop()" title="Method in StartMongoGrailsIntegrationExtension">stop()</a></span> - Method in <a href="org/apache/grails/testing/mongo/StartMongoGrailsIntegrationExtension.html">StartMongoGrailsIntegrationExtension</a>
@@ -47113,6 +47172,10 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="grails/plugin/geb/WebDriverContainerHolder.html#stop()" title="Method in WebDriverContainerHolder">stop()</a></span> - Method in <a href="grails/plugin/geb/WebDriverContainerHolder.html">WebDriverContainerHolder</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.html#stopMarker(java.io.File)" title="Method in RunningApplicationProcess">stopMarker(java.io.File)</a></span> - Method in <a href="org/grails/cli/gradle/RunningApplicationProcess.html">RunningApplicationProcess</a>
+</dt><dd> <div class="block"> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL></div></dd>
+<dt><span class="strong"><a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html#STOPPED" title="Enum Constant in RunningApplicationProcess.StopResult">STOPPED</a></span> - Enum Constant in <a href="org/grails/cli/gradle/RunningApplicationProcess.StopResult.html">RunningApplicationProcess.StopResult</a>
+</dt><dd> <div class="block">The application was found and has stopped.</div></dd>
 <dt><span class="strong"><a href="org/grails/core/util/StopWatch.html" title="Class in org.grails.core.util">StopWatch</a></span> - Class in <a href="./org/grails/core/util/package-summary.html">org.grails.core.util</a>
 </dt><dd><div class="block">Based on the Spring StopWatch class, but supporting nested tasks</div></dd>
 <dt><span class="strong"><a href="org/grails/core/util/StopWatch.TaskInfo.html" title="Class in org.grails.core.util.StopWatch">StopWatch.TaskInfo</a></span> - Class in <a href="./org/grails/core/util/package-summary.html">org.grails.core.util</a>
@@ -50884,6 +50947,8 @@ if (location.href.indexOf('is-external=true') == -1) {
 </dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="org/grails/web/pages/GroovyPageCompilerTask.html#verbose" title="Property in GroovyPageCompilerTask">verbose</a></span> - Property in <a href="org/grails/web/pages/GroovyPageCompilerTask.html">GroovyPageCompilerTask</a>
 </dt><dd> <div class="block"></div></dd>
+<dt><span class="strong"><a href="org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html#verify(int)" title="Method in BootRunExitCodeVerifier">verify(int)</a></span> - Method in <a href="org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html">BootRunExitCodeVerifier</a>
+</dt><dd> <div class="block"></div></dd>
 <dt><span class="strong"><a href="grails/testing/web/UrlMappingsUnitTest.html#verifyAction(java.lang.String, java.lang.String)" title="Method in UrlMappingsUnitTest">verifyAction(java.lang.String, java.lang.String)</a></span> - Method in <a href="grails/testing/web/UrlMappingsUnitTest.html">UrlMappingsUnitTest</a>
 </dt><dd> <div class="block"> <DL><DT><B>Parameters:</B></DT><DD><code>controller</code> -  The controller name</DD></DL></div></dd>
 <dt><span class="strong"><a href="grails/plugin/geb/support/delegate/BrowserDelegate.html#verifyAtImplicitly(geb.Page)" title="Method in BrowserDelegate">verifyAtImplicitly(geb.Page)</a></span> - Method in <a href="grails/plugin/geb/support/delegate/BrowserDelegate.html">BrowserDelegate</a>
diff --git a/docs/snapshot/api/org/grails/cli/gradle/RunningApplicationProcess.StopResult.html b/docs/snapshot/api/org/grails/cli/gradle/RunningApplicationProcess.StopResult.html
new file mode 100644
index 00000000000..220ff22eb80
--- /dev/null
+++ b/docs/snapshot/api/org/grails/cli/gradle/RunningApplicationProcess.StopResult.html
@@ -0,0 +1,357 @@
+<!--
+
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- **************************************************************** -->
+<!-- *  PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
+<!-- *  i.e. only iterate & print data where possible. Thanks, Jez. * -->
+<!-- **************************************************************** -->
+
+<html>
+<head>
+    <!-- Generated by groovydoc (4.0.32) -->
+    <title>RunningApplicationProcess.StopResult (Grails 8.0.0-SNAPSHOT)</title>
+    
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
+    <link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
+    <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
+
+<body class="center">
+<script type="text/javascript"><!--
+if (location.href.indexOf('is-external=true') == -1) {
+    parent.document.title="RunningApplicationProcess.StopResult (Grails 8.0.0-SNAPSHOT)";
+}
+//-->
+</script>
+<noscript>
+    <div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+    <!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+    <!--   -->
+</a>
+    <ul class="navList" title="Navigation">
+        <li><a href="../../../../overview-summary.html">Overview</a></li>
+        <li><a href="package-summary.html">Package</a></li>
+        <li class="navBarCell1Rev">Class</li>
+        <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+        <li><a href="../../../../index-all.html">Index</a></li>
+        <li><a href="../../../../help-doc.html">Help</a></li>
+    </ul>
+</div>
+
+<div class="subNav">
+    <div>
+        <ul class="navList">
+            <li><a href="../../../../index.html?org/grails/cli/gradle/RunningApplicationProcess.StopResult" target="_top">Frames</a></li>
+            <li><a href="RunningApplicationProcess.StopResult.html" target="_top">No Frames</a></li>
+        </ul>
+    </div>
+    <div>
+        <ul class="subNavList">
+            <li>Summary:&nbsp;</li>
+            Nested&nbsp;&nbsp;&nbsp;<li><a href="#enum_constant_summary">Enum constants</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#field_summary">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method&nbsp;&nbsp;&nbsp;
+        </ul>
+        <ul class="subNavList">
+            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
+            <li><a href="#enum_constant_detail">Enum constants</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#field_detail">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method&nbsp;&nbsp;&nbsp;
+        </ul>
+    </div>
+    <a name="skip-navbar_top">
+        <!--   -->
+    </a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+
+    <div class="subTitle">Package: <strong>org.grails.cli.gradle</strong></div>
+
+    <h2 title="[Groovy] Enum RunningApplicationProcess.StopResult" class="title">[Groovy] Enum RunningApplicationProcess.StopResult</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><ul class="inheritance"></ul></li><li>org.grails.cli.gradle.RunningApplicationProcess.StopResult
+</ul>
+<div class="description">
+    <ul class="blockList">
+        <li class="blockList">
+
+
+            <!-- todo: direct known subclasses -->
+            <hr>
+
+<pre>static enum RunningApplicationProcess.StopResult</pre>
+
+    <p> The result of a <a href='#stop(java.io.File, long)'>stop(File, long)</a> request.</p>
+
+          </li>
+    </ul>
+</div>
+
+<div class="summary">
+    <ul class="blockList">
+        <li class="blockList">
+        <!-- =========== NESTED CLASS SUMMARY =========== -->
+        
+
+        <!-- =========== ENUM CONSTANT SUMMARY =========== -->
+        
+            <ul class="blockList">
+                <li class="blockList"><a name="enum_constant_summary"><!--   --></a>
+                    <h3>Enum Constants Summary</h3>
+                    <ul class="blockList">
+                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum constants summary table">
+                        <caption><span>Enum constants classes</span><span class="tabEnd">&nbsp;</span></caption>
+                        <tr>
+                            <th class="colFirst" scope="col">Enum constant</th>
+                            <th class="colLast" scope="col">Description</th>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code><strong><a href="#NOT_RUNNING">NOT_RUNNING</a></strong></code></td>
+                            <td class="colLast">No application started by <CODE>run-app</CODE> was running.</td>
+                        </tr>
+                        
+                        <tr class="rowColor">
+                            <td class="colFirst"><code><strong><a href="#STILL_RUNNING">STILL_RUNNING</a></strong></code></td>
+                            <td class="colLast">The application was found but had not stopped before the timeout elapsed.</td>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code><strong><a href="#STOPPED">STOPPED</a></strong></code></td>
+                            <td class="colLast">The application was found and has stopped.</td>
+                        </tr>
+                        
+                    </table>
+                   </ul>
+                </li>
+            </ul>
+        
+        <!-- =========== FIELD SUMMARY =========== -->
+        
+            <ul class="blockList">
+                <li class="blockList"><a name="field_summary"><!--   --></a>
+                    <h3>Field Summary</h3>
+                    <ul class="blockList">
+                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum constants summary table">
+                        <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+                        <tr>
+                            <th class="colFirst" scope="col">Modifiers</th>
+                            <th class="colLast" scope="col">Name</th>
+                            <th class="colLast" scope="col">Description</th>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code><strong>static&nbsp;<a href='../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html'>RunningApplicationProcess.StopResult</a></strong></code>&nbsp;</td>
+                            <td class="colLast"><code><a href="#MAX_VALUE">MAX_VALUE</a></code></td>
+                            <td class="colLast"></td>
+                        </tr>
+                        
+                        <tr class="rowColor">
+                            <td class="colFirst"><code><strong>static&nbsp;<a href='../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html'>RunningApplicationProcess.StopResult</a></strong></code>&nbsp;</td>
+                            <td class="colLast"><code><a href="#MIN_VALUE">MIN_VALUE</a></code></td>
+                            <td class="colLast"></td>
+                        </tr>
+                        
+                    </table>
+                   </ul>
+                </li>
+                
+            </ul>
+        
+
+        <!-- =========== PROPERTY SUMMARY =========== -->
+        
+
+        <!-- =========== ELEMENT SUMMARY =========== -->
+        
+
+        
+
+        
+        <!-- ========== METHOD SUMMARY =========== -->
+        <ul class="blockList">
+            
+            <li class="blockList"><a name="method_summary"><!--   --></a>
+                    <h3>Inherited Methods Summary</h3>
+                    <ul class="blockList">
+                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
+                        <caption><span>Inherited Methods</span><span class="tabEnd">&nbsp;</span></caption>
+                        <tr>
+                            <th class="colFirst" scope="col">Methods inherited from class</th>
+                            <th class="colLast" scope="col">Name</th>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code>class java.lang.Object</code></td>
+                            <td class="colLast"><code>java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int)</code></td>
+                        </tr>
+                    </table>
+                   </ul>
+              </li>
+                
+        </ul>
+        
+    </li>
+    </ul>
+</div>
+
+<div class="details">
+    <ul class="blockList">
+        <li class="blockList">
+           
+            <!-- ============ ENUM CONSTANT DETAIL ========== -->
+            <ul class="blockList">
+                <li class="blockList"><a name="enum_constant_detail">
+                    <!--   -->
+                </a>
+                    <h3>Enum Constant Detail</h3>
+                    
+                        <a name="NOT_RUNNING"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4><a href="../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html">RunningApplicationProcess.StopResult</a> <strong>NOT_RUNNING</strong></h4>
+                                <p>No application started by <CODE>run-app</CODE> was running.</p>
+                            </li>
+                        </ul>
+                    
+                        <a name="STILL_RUNNING"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4><a href="../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html">RunningApplicationProcess.StopResult</a> <strong>STILL_RUNNING</strong></h4>
+                                <p>The application was found but had not stopped before the timeout elapsed.</p>
+                            </li>
+                        </ul>
+                    
+                        <a name="STOPPED"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4><a href="../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html">RunningApplicationProcess.StopResult</a> <strong>STOPPED</strong></h4>
+                                <p>The application was found and has stopped.</p>
+                            </li>
+                        </ul>
+                    
+                </li>
+            </ul>
+            
+
+            
+            <!-- =========== FIELD DETAIL =========== -->
+            <ul class="blockList">
+                <li class="blockList"><a name="field_detail">
+                    <!--   -->
+                </a>
+                    <h3>Field Detail</h3>
+                    
+                        <a name="MAX_VALUE"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>public&nbsp;static&nbsp;final&nbsp;<a href='../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html'>RunningApplicationProcess.StopResult</a> <strong>MAX_VALUE</strong></h4>
+                                <p></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="MIN_VALUE"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>public&nbsp;static&nbsp;final&nbsp;<a href='../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html'>RunningApplicationProcess.StopResult</a> <strong>MIN_VALUE</strong></h4>
+                                <p></p>
+                            </li>
+                        </ul>
+                    
+                </li>
+            </ul>
+            
+
+            
+
+            
+
+            
+
+
+            
+        </li>
+    </ul>
+</div>
+
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+    <!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+    <!--   -->
+</a>
+    <ul class="navList" title="Navigation">
+        <li><a href="../../../../overview-summary.html">Overview</a></li>
+        <li><a href="package-summary.html">Package</a></li>
+        <li class="navBarCell1Rev">Class</li>
+        <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+        <li><a href="../../../../index-all.html">Index</a></li>
+        <li><a href="../../../../help-doc.html">Help</a></li>
+    </ul>
+</div>
+
+<div class="subNav">
+    <div>
+        <ul class="navList">
+            <li><a href="../../../../index.html?org/grails/cli/gradle/RunningApplicationProcess.StopResult" target="_top">Frames</a></li>
+            <li><a href="RunningApplicationProcess.StopResult.html" target="_top">No Frames</a></li>
+        </ul>
+    </div>
+    <div>
+        <ul class="subNavList">
+            <li>Summary:&nbsp;</li>
+            Nested&nbsp;&nbsp;&nbsp;<li><a href="#enum_constant_summary">Enum constants</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#field_summary">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method&nbsp;&nbsp;&nbsp;
+        </ul>
+        <ul class="subNavList">
+            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
+            <li><a href="#enum_constant_detail">Enum constants</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#field_detail">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method&nbsp;&nbsp;&nbsp;
+        </ul>
+    </div>
+    <p><!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+    /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+    _paq.push(["setDoNotTrack", true]);
+    _paq.push(["disableCookies"]);
+    _paq.push(['trackPageView']);
+    _paq.push(['enableLinkTracking']);
+    (function() {
+        var u="https://analytics.apache.org/";
+        _paq.push(['setTrackerUrl', u+'matomo.php']);
+        _paq.push(['setSiteId', '79']);
+        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code --></p>
+    <a name="skip-navbar_bottom">
+        <!--   -->
+    </a>
+    </div>
+</div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/docs/snapshot/api/org/grails/cli/gradle/RunningApplicationProcess.html b/docs/snapshot/api/org/grails/cli/gradle/RunningApplicationProcess.html
new file mode 100644
index 00000000000..75571dd653a
--- /dev/null
+++ b/docs/snapshot/api/org/grails/cli/gradle/RunningApplicationProcess.html
@@ -0,0 +1,500 @@
+<!--
+
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+
+-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- **************************************************************** -->
+<!-- *  PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
+<!-- *  i.e. only iterate & print data where possible. Thanks, Jez. * -->
+<!-- **************************************************************** -->
+
+<html>
+<head>
+    <!-- Generated by groovydoc (4.0.32) -->
+    <title>RunningApplicationProcess (Grails 8.0.0-SNAPSHOT)</title>
+    
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
+    <link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
+    <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
+
+<body class="center">
+<script type="text/javascript"><!--
+if (location.href.indexOf('is-external=true') == -1) {
+    parent.document.title="RunningApplicationProcess (Grails 8.0.0-SNAPSHOT)";
+}
+//-->
+</script>
+<noscript>
+    <div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+    <!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+    <!--   -->
+</a>
+    <ul class="navList" title="Navigation">
+        <li><a href="../../../../overview-summary.html">Overview</a></li>
+        <li><a href="package-summary.html">Package</a></li>
+        <li class="navBarCell1Rev">Class</li>
+        <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+        <li><a href="../../../../index-all.html">Index</a></li>
+        <li><a href="../../../../help-doc.html">Help</a></li>
+    </ul>
+</div>
+
+<div class="subNav">
+    <div>
+        <ul class="navList">
+            <li><a href="../../../../index.html?org/grails/cli/gradle/RunningApplicationProcess" target="_top">Frames</a></li>
+            <li><a href="RunningApplicationProcess.html" target="_top">No Frames</a></li>
+        </ul>
+    </div>
+    <div>
+        <ul class="subNavList">
+            <li>Summary:&nbsp;</li>
+            <li><a href="#nested_summary">Nested</a></li>&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;Constructor&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
+        </ul>
+        <ul class="subNavList">
+            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
+            Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;Constructor&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
+        </ul>
+    </div>
+    <a name="skip-navbar_top">
+        <!--   -->
+    </a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+
+    <div class="subTitle">Package: <strong>org.grails.cli.gradle</strong></div>
+
+    <h2 title="[Groovy] Class RunningApplicationProcess" class="title">[Groovy] Class RunningApplicationProcess</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><ul class="inheritance"></ul></li><li>org.grails.cli.gradle.RunningApplicationProcess
+</ul>
+<div class="description">
+    <ul class="blockList">
+        <li class="blockList">
+
+
+            <!-- todo: direct known subclasses -->
+            <hr>
+
+<pre>@groovy.transform.CompileStatic
+class RunningApplicationProcess
+extends java.lang.Object</pre>
+
+    <p> Locates and stops the Grails application started by the CLI <CODE>run-app</CODE> command.
+
+ <p><CODE>run-app</CODE> launches an application as a forked Gradle <CODE>bootRun</CODE> JVM. The
+ <CODE>GrailsGradlePlugin</CODE> configures that <CODE>bootRun</CODE> task to tell the application to write
+ its own process id to a project local PID file (via Spring Boot's
+ <CODE>ApplicationPidFileWriter</CODE>). Because the contract is a file on disk - and not in-memory
+ state - <CODE>stop-app</CODE> can terminate the application even when it was forked into a separate
+ process or when <CODE>grails stop-app</CODE> is run from a different CLI invocation than the one that
+ started it.</p>
+
+ <p>Stopping is performed with java.lang.ProcessHandle#destroy(), which requests a graceful
+ shutdown (a <CODE>SIGTERM</CODE> on Unix-like systems, allowing the JVM shutdown hooks and
+ Spring's orderly shutdown to run). On platforms where the operating system has no
+ graceful equivalent (notably Windows) termination is best effort.</p> <DL><DT><B>Authors:</B></DT><DD>Apache Grails Team</DD></DL><DL><DT><B>Since:</B></DT><DD>7.0.0</DD></DL></p>
+
+          </li>
+    </ul>
+</div>
+
+<div class="summary">
+    <ul class="blockList">
+        <li class="blockList">
+        <!-- =========== NESTED CLASS SUMMARY =========== -->
+        
+            <ul class="blockList">
+                <li class="blockList"><a name="nested_summary"><!--   --></a>
+                    <h3>Nested Class Summary</h3>
+                    <ul class="blockList">
+                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
+                        <caption><span>Nested classes</span><span class="tabEnd">&nbsp;</span></caption>
+                        <tr>
+                            <th class="colFirst" scope="col">Modifiers</th>
+                            <th class="colLast" scope="col">Name</th>
+                            <th class="colLast" scope="col">Description</th>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code><strong>static&nbsp;enum</strong></code>&nbsp;</td>
+                            <td class="colLast"><code><a href='../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html'>RunningApplicationProcess.StopResult</a></code></td>
+                            <td class="colLast">The result of a <a href='#stop(java.io.File, long)'>stop(File, long)</a> request.</td>
+                        </tr>
+                        
+                    </table>
+                   </ul>
+                </li>
+            </ul>
+        
+
+        <!-- =========== ENUM CONSTANT SUMMARY =========== -->
+        
+        <!-- =========== FIELD SUMMARY =========== -->
+        
+
+        <!-- =========== PROPERTY SUMMARY =========== -->
+        
+         <ul class="blockList"> 
+                <li class="blockList"><a name="property_summary"><!--   --></a>
+                    <h3>Properties Summary</h3>
+                    <ul class="blockList">
+                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties Summary table, listing nested classes, and an explanation">
+                        <caption><span>Properties</span><span class="tabEnd">&nbsp;</span></caption>
+                        <tr>
+                            <th class="colFirst" scope="col">Type</th>
+                            <th class="colLast" scope="col">Name and description</th>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code><strong>static&nbsp;java.lang.String</strong></code>&nbsp;</td>
+                            <td class="colLast"><code><a href="#PID_FILE_NAME">PID_FILE_NAME</a></code><br>The name of the PID file written, relative to the project build directory.</td>
+                        </tr>
+                        
+                        <tr class="rowColor">
+                            <td class="colFirst"><code><strong>static&nbsp;java.lang.String</strong></code>&nbsp;</td>
+                            <td class="colLast"><code><a href="#STOP_MARKER_NAME">STOP_MARKER_NAME</a></code><br>The name of the marker file, relative to the project build directory, that <CODE>stop-app</CODE>
+ writes to signal a deliberate shutdown.</td>
+                        </tr>
+                        
+                    </table>
+                   </ul>
+                </li>
+                
+            </ul>
+        
+
+        <!-- =========== ELEMENT SUMMARY =========== -->
+        
+
+        
+
+        
+        <!-- ========== METHOD SUMMARY =========== -->
+        <ul class="blockList">
+            
+            <li class="blockList"><a name="method_summary"><!--   --></a>
+                    <h3>Methods Summary</h3>
+                    <ul class="blockList">
+                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Methods Summary table">
+                        <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+                        <tr>
+                            <th class="colFirst" scope="col">Type Params</th>
+                            <th class="colLast" scope="col">Return Type</th>
+                            <th class="colLast" scope="col">Name and description</th>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>static&nbsp;void</code></td>
+                            <td class="colLast"><code><strong><a href="#clearStopRequest(java.io.File)">clearStopRequest</a></strong>(java.io.File buildDir)</code><br>Removes any pending <CODE>stop-app</CODE> shutdown marker for the project.</td>
+                        </tr>
+                        
+                        <tr class="rowColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>static&nbsp;boolean</code></td>
+                            <td class="colLast"><code><strong><a href="#isRunning(java.io.File)">isRunning</a></strong>(java.io.File pidFile)</code><br> <DL><DT><B>Parameters:</B></DT><DD><code>pidFile</code> -  the PID file</DD></DL></td>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>static&nbsp;boolean</code></td>
+                            <td class="colLast"><code><strong><a href="#isStopRequested(java.io.File)">isStopRequested</a></strong>(java.io.File buildDir)</code><br> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL></td>
+                        </tr>
+                        
+                        <tr class="rowColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>static&nbsp;java.util.Optional&lt;java.lang.ProcessHandle&gt;</code></td>
+                            <td class="colLast"><code><strong><a href="#liveProcess(java.io.File)">liveProcess</a></strong>(java.io.File pidFile)</code><br>Resolves the live application process described by the PID file, applying a guard against
+ recycled process ids.</td>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>static&nbsp;java.io.File</code></td>
+                            <td class="colLast"><code><strong><a href="#pidFile(java.io.File)">pidFile</a></strong>(java.io.File buildDir)</code><br> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL></td>
+                        </tr>
+                        
+                        <tr class="rowColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>static&nbsp;java.lang.Long</code></td>
+                            <td class="colLast"><code><strong><a href="#readPid(java.io.File)">readPid</a></strong>(java.io.File pidFile)</code><br>Reads the process id recorded in the given PID file.</td>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>static&nbsp;void</code></td>
+                            <td class="colLast"><code><strong><a href="#requestStop(java.io.File)">requestStop</a></strong>(java.io.File buildDir)</code><br>Records that a deliberate <CODE>stop-app</CODE> shutdown is in progress, so a foreground
+ <CODE>run-app</CODE> blocked on the <CODE>bootRun</CODE> build can distinguish an intentional stop
+ from a startup failure when its process is terminated.</td>
+                        </tr>
+                        
+                        <tr class="rowColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>static&nbsp;<a href='../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html'>RunningApplicationProcess.StopResult</a></code></td>
+                            <td class="colLast"><code><strong><a href="#stop(java.io.File, long)">stop</a></strong>(java.io.File pidFile, long timeoutMillis)</code><br>Stops the application recorded in the PID file and removes the file once the process is gone.</td>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>static&nbsp;java.io.File</code></td>
+                            <td class="colLast"><code><strong><a href="#stopMarker(java.io.File)">stopMarker</a></strong>(java.io.File buildDir)</code><br> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL></td>
+                        </tr>
+                        
+                    </table>
+                   </ul>
+              </li>
+            
+            <li class="blockList"><a name="method_summary"><!--   --></a>
+                    <h3>Inherited Methods Summary</h3>
+                    <ul class="blockList">
+                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
+                        <caption><span>Inherited Methods</span><span class="tabEnd">&nbsp;</span></caption>
+                        <tr>
+                            <th class="colFirst" scope="col">Methods inherited from class</th>
+                            <th class="colLast" scope="col">Name</th>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst"><code>class java.lang.Object</code></td>
+                            <td class="colLast"><code>java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int)</code></td>
+                        </tr>
+                    </table>
+                   </ul>
+              </li>
+                
+        </ul>
+        
+    </li>
+    </ul>
+</div>
+
+<div class="details">
+    <ul class="blockList">
+        <li class="blockList">
+           
+
+            
+
+            
+            <!-- =========== PROPERTY DETAIL =========== -->
+            <ul class="blockList">
+                <li class="blockList"><a name="prop_detail">
+                    <!--   -->
+                </a>
+                    <h3>Property Detail</h3>
+                    
+                        <a name="PID_FILE_NAME"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;final&nbsp;java.lang.String <strong>PID_FILE_NAME</strong></h4>
+                                <p> The name of the PID file written, relative to the project build directory.</p>
+                            </li>
+                        </ul>
+                    
+                        <a name="STOP_MARKER_NAME"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;final&nbsp;java.lang.String <strong>STOP_MARKER_NAME</strong></h4>
+                                <p> The name of the marker file, relative to the project build directory, that <CODE>stop-app</CODE>
+ writes to signal a deliberate shutdown.
+
+ <p>This marker is purely a message-classification hint and has nothing to do with how the
+ application is shut down (that is always a graceful <CODE>ProcessHandle.destroy()</CODE>). It exists
+ only for a foreground, blocking <CODE>grails run-app</CODE>: because <CODE>stop-app</CODE> terminates the
+ forked application JVM rather than the Gradle process, the <CODE>bootRun</CODE> build returns a
+ non-zero child exit, which would otherwise be reported as a startup failure. The marker lets
+ that <CODE>run-app</CODE> report a clean stop instead. It is an empty file - only its presence
+ matters - and it is cleared at the start of the next <CODE>run-app</CODE> so it can never mask a
+ genuine startup failure.</p></p>
+                            </li>
+                        </ul>
+                    
+                </li>
+            </ul>
+            
+
+            
+
+            
+
+
+            
+            <!-- =========== METHOD DETAIL =========== -->
+            <ul class="blockList">
+                <li class="blockList"><a name="method_detail">
+                    <!--   -->
+                </a>
+                    <h3>Method Detail</h3>
+                    
+                        <a name="clearStopRequest(java.io.File)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;void <strong>clearStopRequest</strong>(java.io.File buildDir)</h4>
+                                <p> Removes any pending <CODE>stop-app</CODE> shutdown marker for the project. <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="isRunning(java.io.File)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;boolean <strong>isRunning</strong>(java.io.File pidFile)</h4>
+                                <p> <DL><DT><B>Parameters:</B></DT><DD><code>pidFile</code> -  the PID file</DD></DL><DL><DT><B>Returns:</B></DT><DD><CODE>true</CODE> if an application started by <CODE>run-app</CODE> is currently running</DD></DL></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="isStopRequested(java.io.File)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;boolean <strong>isStopRequested</strong>(java.io.File buildDir)</h4>
+                                <p> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL><DL><DT><B>Returns:</B></DT><DD><CODE>true</CODE> if a <CODE>stop-app</CODE> shutdown has been requested for the project</DD></DL></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="liveProcess(java.io.File)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;java.util.Optional&lt;java.lang.ProcessHandle&gt; <strong>liveProcess</strong>(java.io.File pidFile)</h4>
+                                <p> Resolves the live application process described by the PID file, applying a guard against
+ recycled process ids. <DL><DT><B>Parameters:</B></DT><DD><code>pidFile</code> -  the PID file</DD></DL><DL><DT><B>Returns:</B></DT><DD>the live java.lang.ProcessHandle, or an empty optional when the file is missing,
+         malformed, refers to a process that is no longer alive, or refers to a process id
+         that has been reused by an unrelated process</DD></DL></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="pidFile(java.io.File)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;java.io.File <strong>pidFile</strong>(java.io.File buildDir)</h4>
+                                <p> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL><DL><DT><B>Returns:</B></DT><DD>the PID file used to track the application started by <CODE>run-app</CODE></DD></DL></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="readPid(java.io.File)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;java.lang.Long <strong>readPid</strong>(java.io.File pidFile)</h4>
+                                <p> Reads the process id recorded in the given PID file. <DL><DT><B>Parameters:</B></DT><DD><code>pidFile</code> -  the PID file</DD></DL><DL><DT><B>Returns:</B></DT><DD>the recorded process id, or <CODE>null</CODE> if the file is missing, empty, malformed or
+         not a positive process id</DD></DL></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="requestStop(java.io.File)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;void <strong>requestStop</strong>(java.io.File buildDir)</h4>
+                                <p> Records that a deliberate <CODE>stop-app</CODE> shutdown is in progress, so a foreground
+ <CODE>run-app</CODE> blocked on the <CODE>bootRun</CODE> build can distinguish an intentional stop
+ from a startup failure when its process is terminated.
+
+ <p>The marker is an empty file; only its presence is meaningful (see <a href='#isStopRequested'>isStopRequested</a>).</p> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="stop(java.io.File, long)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;<a href='../../../../org/grails/cli/gradle/RunningApplicationProcess.StopResult.html'>RunningApplicationProcess.StopResult</a> <strong>stop</strong>(java.io.File pidFile, long timeoutMillis)</h4>
+                                <p> Stops the application recorded in the PID file and removes the file once the process is gone. <DL><DT><B>Parameters:</B></DT><DD><code>pidFile</code> -  the PID file</DD><DD><code>timeoutMillis</code> -  the maximum time to wait for the process to terminate</DD></DL><DL><DT><B>Returns:</B></DT><DD>the outcome of the stop request</DD></DL></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="stopMarker(java.io.File)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>static&nbsp;java.io.File <strong>stopMarker</strong>(java.io.File buildDir)</h4>
+                                <p> <DL><DT><B>Parameters:</B></DT><DD><code>buildDir</code> -  the project build directory</DD></DL><DL><DT><B>Returns:</B></DT><DD>the marker file used to signal that a <CODE>stop-app</CODE> shutdown is in progress</DD></DL></p>
+                            </li>
+                        </ul>
+                    
+                </li>
+            </ul>
+            
+        </li>
+    </ul>
+</div>
+
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+    <!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+    <!--   -->
+</a>
+    <ul class="navList" title="Navigation">
+        <li><a href="../../../../overview-summary.html">Overview</a></li>
+        <li><a href="package-summary.html">Package</a></li>
+        <li class="navBarCell1Rev">Class</li>
+        <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+        <li><a href="../../../../index-all.html">Index</a></li>
+        <li><a href="../../../../help-doc.html">Help</a></li>
+    </ul>
+</div>
+
+<div class="subNav">
+    <div>
+        <ul class="navList">
+            <li><a href="../../../../index.html?org/grails/cli/gradle/RunningApplicationProcess" target="_top">Frames</a></li>
+            <li><a href="RunningApplicationProcess.html" target="_top">No Frames</a></li>
+        </ul>
+    </div>
+    <div>
+        <ul class="subNavList">
+            <li>Summary:&nbsp;</li>
+            <li><a href="#nested_summary">Nested</a></li>&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;Constructor&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
+        </ul>
+        <ul class="subNavList">
+            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
+            Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;Constructor&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
+        </ul>
+    </div>
+    <p><!-- Matomo -->
+<script>
+    var _paq = window._paq = window._paq || [];
+    /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+    _paq.push(["setDoNotTrack", true]);
+    _paq.push(["disableCookies"]);
+    _paq.push(['trackPageView']);
+    _paq.push(['enableLinkTracking']);
+    (function() {
+        var u="https://analytics.apache.org/";
+        _paq.push(['setTrackerUrl', u+'matomo.php']);
+        _paq.push(['setSiteId', '79']);
+        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+        g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+    })();
+</script>
+<!-- End Matomo Code --></p>
+    <a name="skip-navbar_bottom">
+        <!--   -->
+    </a>
+    </div>
+</div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/docs/snapshot/api/org/grails/cli/gradle/package-frame.html b/docs/snapshot/api/org/grails/cli/gradle/package-frame.html
index 1036adf785c..eae9b95219d 100644
--- a/docs/snapshot/api/org/grails/cli/gradle/package-frame.html
+++ b/docs/snapshot/api/org/grails/cli/gradle/package-frame.html
@@ -43,12 +43,20 @@
 <div class="indexContainer">
     <h2>Classes</h2>
     <ul>
-        <li><a href="ClasspathBuildAction.html" title="class in org.grails.cli.gradle" target="classFrame">ClasspathBuildAction</a></li><li><a href="FetchAllTaskSelectorsBuildAction.html" title="class in org.grails.cli.gradle" target="classFrame">FetchAllTaskSelectorsBuildAction</a></li><li><a href="FetchAllTaskSelectorsBuildAction.AllTasksModel.html" title="class in org.grails.cli.gradle" target="classFrame">FetchAllTaskSelectorsBuildAction.AllTasksModel</a></li><li><a href="GradleAsync [...]
+        <li><a href="ClasspathBuildAction.html" title="class in org.grails.cli.gradle" target="classFrame">ClasspathBuildAction</a></li><li><a href="FetchAllTaskSelectorsBuildAction.html" title="class in org.grails.cli.gradle" target="classFrame">FetchAllTaskSelectorsBuildAction</a></li><li><a href="FetchAllTaskSelectorsBuildAction.AllTasksModel.html" title="class in org.grails.cli.gradle" target="classFrame">FetchAllTaskSelectorsBuildAction.AllTasksModel</a></li><li><a href="GradleAsync [...]
     </ul>
 </div>
 
 
 
+<div class="indexContainer">
+    <h2>Enums</h2>
+    <ul>
+        <li><a href="RunningApplicationProcess.StopResult.html" title="enum in org.grails.cli.gradle" target="classFrame">RunningApplicationProcess.StopResult</a></li>
+    </ul>
+</div>
+
+
 
 
 
diff --git a/docs/snapshot/api/org/grails/cli/gradle/package-summary.html b/docs/snapshot/api/org/grails/cli/gradle/package-summary.html
index c7c1a6a8057..81a52f82b3e 100644
--- a/docs/snapshot/api/org/grails/cli/gradle/package-summary.html
+++ b/docs/snapshot/api/org/grails/cli/gradle/package-summary.html
@@ -136,6 +136,14 @@ function windowTitle()
                             </td>
                             <td>Utility methods for interacting with Gradle</td>
                         </tr>
+<tr class="altColor">
+                            <td class="colOne">
+                                <strong><a href="RunningApplicationProcess.html" title="class in org/grails/cli/gradle">
+                                    RunningApplicationProcess
+                                </a></strong>
+                            </td>
+                            <td>Locates and stops the Grails application started by the CLI <CODE>run-app</CODE> command.</td>
+                        </tr>
 
                     </tbody>
                 </table>
@@ -145,6 +153,32 @@ function windowTitle()
     
 
 
+    <div class="summary">
+        <ul class="blockList">
+            <li class="blockList">
+                <table border="0" cellpadding="3" cellspacing="0" summary="Enum Summary">
+                    <caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
+                    <tbody>
+                    <tr>
+                        <th class="colFirst" scope="col">Enum</th>
+                        <th class="colLast" scope="col">Description</th>
+                    </tr>
+<tr class="altColor">
+                            <td class="colOne">
+                                <strong><a href="RunningApplicationProcess.StopResult.html" title="class in org/grails/cli/gradle">
+                                    RunningApplicationProcess.StopResult
+                                </a></strong>
+                            </td>
+                            <td>The result of a <a href='#stop(java.io.File, long)'>stop(File, long)</a> request.</td>
+                        </tr>
+
+                    </tbody>
+                </table>
+            </li>
+            </ul>
+        </div>
+    
+
 
 
 
diff --git a/docs/snapshot/api/grails/ui/support/DevelopmentGrailsApplication.html b/docs/snapshot/api/org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html
similarity index 62%
copy from docs/snapshot/api/grails/ui/support/DevelopmentGrailsApplication.html
copy to docs/snapshot/api/org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html
index c016443d6d6..58b29086e7c 100644
--- a/docs/snapshot/api/grails/ui/support/DevelopmentGrailsApplication.html
+++ b/docs/snapshot/api/org/grails/gradle/plugin/core/BootRunExitCodeVerifier.html
@@ -27,17 +27,17 @@
 <html>
 <head>
     <!-- Generated by groovydoc (4.0.32) -->
-    <title>DevelopmentGrailsApplication (Grails 8.0.0-SNAPSHOT)</title>
+    <title>BootRunExitCodeVerifier (Grails 8.0.0-SNAPSHOT)</title>
     
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <link href="../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
-    <link href="../../../groovy.ico" type="image/x-icon" rel="icon">
-    <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
+    <link href="../../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
+    <link href="../../../../../groovy.ico" type="image/x-icon" rel="icon">
+    <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
 
 <body class="center">
 <script type="text/javascript"><!--
 if (location.href.indexOf('is-external=true') == -1) {
-    parent.document.title="DevelopmentGrailsApplication (Grails 8.0.0-SNAPSHOT)";
+    parent.document.title="BootRunExitCodeVerifier (Grails 8.0.0-SNAPSHOT)";
 }
 //-->
 </script>
@@ -51,20 +51,20 @@ if (location.href.indexOf('is-external=true') == -1) {
     <!--   -->
 </a>
     <ul class="navList" title="Navigation">
-        <li><a href="../../../overview-summary.html">Overview</a></li>
+        <li><a href="../../../../../overview-summary.html">Overview</a></li>
         <li><a href="package-summary.html">Package</a></li>
         <li class="navBarCell1Rev">Class</li>
-        <li><a href="../../../deprecated-list.html">Deprecated</a></li>
-        <li><a href="../../../index-all.html">Index</a></li>
-        <li><a href="../../../help-doc.html">Help</a></li>
+        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+        <li><a href="../../../../../index-all.html">Index</a></li>
+        <li><a href="../../../../../help-doc.html">Help</a></li>
     </ul>
 </div>
 
 <div class="subNav">
     <div>
         <ul class="navList">
-            <li><a href="../../../index.html?grails/ui/support/DevelopmentGrailsApplication" target="_top">Frames</a></li>
-            <li><a href="DevelopmentGrailsApplication.html" target="_top">No Frames</a></li>
+            <li><a href="../../../../../index.html?org/grails/gradle/plugin/core/BootRunExitCodeVerifier" target="_top">Frames</a></li>
+            <li><a href="BootRunExitCodeVerifier.html" target="_top">No Frames</a></li>
         </ul>
     </div>
     <div>
@@ -85,27 +85,38 @@ if (location.href.indexOf('is-external=true') == -1) {
 <!-- ======== START OF CLASS DATA ======== -->
 <div class="header">
 
-    <div class="subTitle">Package: <strong>grails.ui.support</strong></div>
+    <div class="subTitle">Package: <strong>org.grails.gradle.plugin.core</strong></div>
 
-    <h2 title="[Groovy] Class DevelopmentGrailsApplication" class="title">[Groovy] Class DevelopmentGrailsApplication</h2>
+    <h2 title="[Groovy] Class BootRunExitCodeVerifier" class="title">[Groovy] Class BootRunExitCodeVerifier</h2>
 </div>
 <div class="contentContainer">
 <ul class="inheritance">
-<li><ul class="inheritance"></ul></li><li><ul class="inheritance"></ul></li><li><ul class="inheritance"></ul></li><li>grails.ui.support.DevelopmentGrailsApplication
+<li><ul class="inheritance"></ul></li><li>org.grails.gradle.plugin.core.BootRunExitCodeVerifier
 </ul>
 <div class="description">
     <ul class="blockList">
         <li class="blockList">
 
+            <dl>
+                <dt>All Implemented Interfaces and Traits:</dt>
+                <dd>Action&lt;Task&gt;</dd>
+            </dl>
+    
 
             <!-- todo: direct known subclasses -->
             <hr>
 
 <pre>@groovy.transform.CompileStatic
-class DevelopmentGrailsApplication
-extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
+class BootRunExitCodeVerifier
+extends java.lang.Object
+implements Action&lt;Task&gt;</pre>
+
+    <p> A <CODE>bootRun</CODE> <CODE>doLast</CODE> action that treats a deliberate stop as a successful build.
 
-    <p> <DL><DT><B>Authors:</B></DT><DD>Graeme Rocher</DD></DL><DL><DT><B>Since:</B></DT><DD>3.0</DD></DL></p>
+ <p><CODE>stop-app</CODE> and <CODE>Ctrl+C</CODE> terminate the forked application gracefully (SIGTERM /
+ SIGINT), so it exits 143 / 130. JavaExec would otherwise report that non-zero exit as
+ <CODE>BUILD FAILED</CODE>; this tolerates the signal-termination codes while still failing for any
+ other non-zero exit. Used with <CODE>ignoreExitValue = true</CODE> on the task.</p></p>
 
           </li>
     </ul>
@@ -124,26 +135,6 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
 
         <!-- =========== PROPERTY SUMMARY =========== -->
         
-         <ul class="blockList"> 
-                 <li class="blockList"><a name="properties_summary"><!--   --></a>
-                     <ul class="blockList">
-                         <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited properties summary table">
-                             <caption><span>Inherited properties</span><span class="tabEnd">&nbsp;</span></caption>
-                             <tr>
-                                 <th class="colFirst" scope="col">Properties inherited from class</th>
-                                 <th class="colLast" scope="col">Properties</th>
-                             </tr>
-                                                     <tr class="altColor">
-                                <td class="colFirst"><strong><code>class <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></code></strong></td>
-                                <td class="colLast"><code>configuredEnvironment, developmentModeActive, enableBeanCreationProfiler</code></td>
-                            </tr>
-
-                         </table>
-                     </ul>
-                 </li>
-                 
-            </ul>
-        
 
         <!-- =========== ELEMENT SUMMARY =========== -->
         
@@ -162,7 +153,7 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
                         
                         <tr class="altColor">
                             <td class="colFirst">
-                                <code>protected&nbsp;<strong><a href="#DevelopmentGrailsApplication(Class)">DevelopmentGrailsApplication</a></strong>(java.lang.Class&lt;?&gt;[] sources)</code><br></td>
+                                <code><strong><a href="#BootRunExitCodeVerifier()">BootRunExitCodeVerifier</a></strong>()</code><br></td>
                         </tr>
                         
                     </table>
@@ -188,8 +179,14 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
                         
                         <tr class="altColor">
                             <td class="colFirst"><code></code></td>
-                            <td class="colLast"><code>protected&nbsp;java.lang.Object</code></td>
-                            <td class="colLast"><code><strong><a href="#configureApplicationContextClass()">configureApplicationContextClass</a></strong>()</code><br></td>
+                            <td class="colLast"><code>void</code></td>
+                            <td class="colLast"><code><strong><a href="#execute(org.gradle.api.Task)">execute</a></strong>(<a href='../../../../../org.gradle.api.Task.html'>Task</a> task)</code><br></td>
+                        </tr>
+                        
+                        <tr class="rowColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>void</code></td>
+                            <td class="colLast"><code><strong><a href="#verify(int)">verify</a></strong>(int exitValue)</code><br></td>
                         </tr>
                         
                     </table>
@@ -207,8 +204,8 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
                         </tr>
                         
                         <tr class="altColor">
-                            <td class="colFirst"><code>class <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></code></td>
-                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grails/boot/GrailsApp.html#configureEnvironment(org.springframework.core.env.ConfigurableEnvironment, java.la [...]
+                            <td class="colFirst"><code>class java.lang.Object</code></td>
+                            <td class="colLast"><code>java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int)</code></td>
                         </tr>
                     </table>
                    </ul>
@@ -239,10 +236,10 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
                 </a>
                     <h3>Constructor Detail</h3>
                     
-                        <a name="DevelopmentGrailsApplication(Class)"><!-- --></a>
+                        <a name="BootRunExitCodeVerifier()"><!-- --></a>
                         <ul class="blockListLast">
                             <li class="blockList">
-                                <h4>protected&nbsp;<strong>DevelopmentGrailsApplication</strong>(java.lang.Class&lt;?&gt;[] sources)</h4>
+                                <h4><strong>BootRunExitCodeVerifier</strong>()</h4>
                                 <p></p>
                             </li>
                         </ul>
@@ -260,10 +257,18 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
                 </a>
                     <h3>Method Detail</h3>
                     
-                        <a name="configureApplicationContextClass()"><!-- --></a>
+                        <a name="execute(org.gradle.api.Task)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>@java.lang.Override<br>void <strong>execute</strong>(<a href='../../../../../org.gradle.api.Task.html'>Task</a> task)</h4>
+                                <p></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="verify(int)"><!-- --></a>
                         <ul class="blockListLast">
                             <li class="blockList">
-                                <h4>protected&nbsp;java.lang.Object <strong>configureApplicationContextClass</strong>()</h4>
+                                <h4>void <strong>verify</strong>(int exitValue)</h4>
                                 <p></p>
                             </li>
                         </ul>
@@ -283,20 +288,20 @@ extends <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></pre>
     <!--   -->
 </a>
     <ul class="navList" title="Navigation">
-        <li><a href="../../../overview-summary.html">Overview</a></li>
+        <li><a href="../../../../../overview-summary.html">Overview</a></li>
         <li><a href="package-summary.html">Package</a></li>
         <li class="navBarCell1Rev">Class</li>
-        <li><a href="../../../deprecated-list.html">Deprecated</a></li>
-        <li><a href="../../../index-all.html">Index</a></li>
-        <li><a href="../../../help-doc.html">Help</a></li>
+        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+        <li><a href="../../../../../index-all.html">Index</a></li>
+        <li><a href="../../../../../help-doc.html">Help</a></li>
     </ul>
 </div>
 
 <div class="subNav">
     <div>
         <ul class="navList">
-            <li><a href="../../../index.html?grails/ui/support/DevelopmentGrailsApplication" target="_top">Frames</a></li>
-            <li><a href="DevelopmentGrailsApplication.html" target="_top">No Frames</a></li>
+            <li><a href="../../../../../index.html?org/grails/gradle/plugin/core/BootRunExitCodeVerifier" target="_top">Frames</a></li>
+            <li><a href="BootRunExitCodeVerifier.html" target="_top">No Frames</a></li>
         </ul>
     </div>
     <div>
diff --git a/docs/snapshot/api/org/grails/gradle/plugin/core/GrailsGradlePlugin.html b/docs/snapshot/api/org/grails/gradle/plugin/core/GrailsGradlePlugin.html
index a383ad911cf..ec99c0f8058 100644
--- a/docs/snapshot/api/org/grails/gradle/plugin/core/GrailsGradlePlugin.html
+++ b/docs/snapshot/api/org/grails/gradle/plugin/core/GrailsGradlePlugin.html
@@ -287,166 +287,172 @@ implements Plugin&lt;Project&gt;</pre>
                         <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
-                            <td class="colLast"><code><strong><a href="#configureConsoleTask(org.gradle.api.Project)">configureConsoleTask</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
+                            <td class="colLast"><code><strong><a href="#configureBootRunPidFile(org.gradle.api.Project)">configureBootRunPidFile</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
                         <tr class="altColor">
+                            <td class="colFirst"><code></code></td>
+                            <td class="colLast"><code>protected&nbsp;void</code></td>
+                            <td class="colLast"><code><strong><a href="#configureConsoleTask(org.gradle.api.Project)">configureConsoleTask</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
+                        </tr>
+                        
+                        <tr class="rowColor">
                             <td class="colFirst"><code>&lt;T extends JavaForkOptions & DefaultTask&gt;</code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#configureForkSettings(org.gradle.api.Project, java.lang.String)">configureForkSettings</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project, java.lang.String grailsVersion)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#configureGrailsSourceDirs(org.gradle.api.Project)">configureGrailsSourceDirs</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#configureGroovy(org.gradle.api.Project)">configureGroovy</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#configureJavaCompatibilityArgs(org.gradle.api.Project)">configureJavaCompatibilityArgs</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br>Configures JVM arguments required for compatibility with Java 23+.</td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#configureMicronaut(org.gradle.api.Project)">configureMicronaut</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#configureProfile(org.gradle.api.Project)">configureProfile</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#configureRunCommand(org.gradle.api.Project)">configureRunCommand</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#configureRunScript(org.gradle.api.Project)">configureRunScript</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#configureToolchainForForkTasks(org.gradle.api.Project)">configureToolchainForForkTasks</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br>Configures JavaExec tasks to inherit the project's Java toolchain.</td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#createBuildPropertiesTask(org.gradle.api.Project)">createBuildPropertiesTask</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;TaskProvider&lt;JavaExec&gt;</code></td>
                             <td class="colLast"><code><strong><a href="#createConsoleTask(org.gradle.api.Project, org.gradle.api.tasks.TaskContainer, NamedDomainObjectProvider)">createConsoleTask</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project, <a href='../../../../../org.gradle.api.tasks.TaskContainer.html'>TaskContainer</a> tasks, NamedDomainObjectProvider&lt;Configuration&gt; configuration)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;TaskProvider&lt;Task&gt;</code></td>
                             <td class="colLast"><code><strong><a href="#createNative2AsciiTask(org.gradle.api.tasks.TaskContainer, java.lang.Object, java.lang.Object)">createNative2AsciiTask</a></strong>(<a href='../../../../../org.gradle.api.tasks.TaskContainer.html'>TaskContainer</a> tasks, java.lang.Object src, java.lang.Object dest)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;TaskProvider&lt;JavaExec&gt;</code></td>
                             <td class="colLast"><code><strong><a href="#createShellTask(org.gradle.api.Project, org.gradle.api.tasks.TaskContainer, NamedDomainObjectProvider)">createShellTask</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project, <a href='../../../../../org.gradle.api.tasks.TaskContainer.html'>TaskContainer</a> tasks, NamedDomainObjectProvider&lt;Configuration&gt; configuration)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#enableNative2Ascii(org.gradle.api.Project, java.lang.String)">enableNative2Ascii</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project, java.lang.String grailsVersion)</code><br>Enables native2ascii processing of resource bundles</td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#excludeDependencies(org.gradle.api.Project)">excludeDependencies</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;java.lang.String</code></td>
                             <td class="colLast"><code><strong><a href="#getDefaultProfile()">getDefaultProfile</a></strong>()</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;groovy.lang.Closure&lt;java.lang.String&gt;</code></td>
                             <td class="colLast"><code><strong><a href="#getGroovyCompilerScript(org.gradle.api.tasks.compile.GroovyCompile, org.gradle.api.Project)">getGroovyCompilerScript</a></strong>(<a href='../../../../../org.gradle.api.tasks.compile.GroovyCompile.html'>GroovyCompile</a> compile, <a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;static&nbsp;Provider&lt;java.lang.String&gt;</code></td>
                             <td class="colLast"><code><strong><a href="#getMainClassProvider(org.gradle.api.Project)">getMainClassProvider</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;boolean</code></td>
                             <td class="colLast"><code><strong><a href="#isGrailsSourceDirectory(java.io.File)">isGrailsSourceDirectory</a></strong>(java.io.File subdir)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#registerFindMainClassTask(org.gradle.api.Project)">registerFindMainClassTask</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;<a href='../../../../../org/grails/gradle/plugin/core/GrailsExtension.html'>GrailsExtension</a></code></td>
                             <td class="colLast"><code><strong><a href="#registerGrailsExtension(org.gradle.api.Project)">registerGrailsExtension</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#registerToolingModelBuilder(org.gradle.api.Project, org.gradle.tooling.provider.model.ToolingModelBuilderRegistry)">registerToolingModelBuilder</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project, <a href='../../../../../org.gradle.tooling.provider.model.ToolingModelBuilderRegistry.html'>ToolingModelBuilderRegistry</a> registry)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;<a href='../../../../../org.gradle.api.file.FileCollection.html'>FileCollection</a></code></td>
                             <td class="colLast"><code><strong><a href="#resolveClassesDirs(org.gradle.api.tasks.SourceSetOutput, org.gradle.api.Project)">resolveClassesDirs</a></strong>(<a href='../../../../../org.gradle.api.tasks.SourceSetOutput.html'>SourceSetOutput</a> output, <a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;java.util.List&lt;java.io.File&gt;</code></td>
                             <td class="colLast"><code><strong><a href="#resolveGrailsResourceDirs(org.gradle.api.Project)">resolveGrailsResourceDirs</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;java.util.List&lt;java.io.File&gt;</code></td>
                             <td class="colLast"><code><strong><a href="#resolveGrailsSourceDirs(org.gradle.api.Project)">resolveGrailsSourceDirs</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="rowColor">
+                        <tr class="altColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;java.lang.String</code></td>
                             <td class="colLast"><code><strong><a href="#resolveGrailsVersion(org.gradle.api.Project)">resolveGrailsVersion</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br></td>
                         </tr>
                         
-                        <tr class="altColor">
+                        <tr class="rowColor">
                             <td class="colFirst"><code></code></td>
                             <td class="colLast"><code>protected&nbsp;static&nbsp;void</code></td>
                             <td class="colLast"><code><strong><a href="#validateMicronautBom(org.gradle.api.Project)">validateMicronautBom</a></strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</code><br>Validates that a Micronaut-compatible BOM is applied as an enforcedPlatform when micronaut is used.
@@ -678,6 +684,14 @@ implements Plugin&lt;Project&gt;</pre>
                             </li>
                         </ul>
                     
+                        <a name="configureBootRunPidFile(org.gradle.api.Project)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>protected&nbsp;void <strong>configureBootRunPidFile</strong>(<a href='../../../../../org.gradle.api.Project.html'>Project</a> project)</h4>
+                                <p></p>
+                            </li>
+                        </ul>
+                    
                         <a name="configureConsoleTask(org.gradle.api.Project)"><!-- --></a>
                         <ul class="blockListLast">
                             <li class="blockList">
diff --git a/docs/snapshot/api/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.html b/docs/snapshot/api/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.html
index 9859d85f419..6bfeec47e5a 100644
--- a/docs/snapshot/api/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.html
+++ b/docs/snapshot/api/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.html
@@ -310,7 +310,7 @@ extends <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin
                         
                         <tr class="altColor">
                             <td class="colFirst"><code>class <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html'>GrailsGradlePlugin</a></code></td>
-                            <td class="colLast"><code><a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#apply(org.gradle.api.Project)'>apply</a>, <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#applyBasePlugins(org.gradle.api.Project)'>applyBasePlugins</a>, <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#applyDefaultPlugins(org.gradle.api.Project)'>applyDefaultPlugins</a>, <a href='../../../../../org/ [...]
+                            <td class="colLast"><code><a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#apply(org.gradle.api.Project)'>apply</a>, <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#applyBasePlugins(org.gradle.api.Project)'>applyBasePlugins</a>, <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#applyDefaultPlugins(org.gradle.api.Project)'>applyDefaultPlugins</a>, <a href='../../../../../org/ [...]
                         </tr>
                     </table>
                    </ul>
diff --git a/docs/snapshot/api/grails/ui/script/GrailsApplicationScriptRunner.html b/docs/snapshot/api/org/grails/gradle/plugin/core/RunAppPidFileProvider.html
similarity index 56%
copy from docs/snapshot/api/grails/ui/script/GrailsApplicationScriptRunner.html
copy to docs/snapshot/api/org/grails/gradle/plugin/core/RunAppPidFileProvider.html
index ffa6fe8f0f1..08a92351e86 100644
--- a/docs/snapshot/api/grails/ui/script/GrailsApplicationScriptRunner.html
+++ b/docs/snapshot/api/org/grails/gradle/plugin/core/RunAppPidFileProvider.html
@@ -27,17 +27,17 @@
 <html>
 <head>
     <!-- Generated by groovydoc (4.0.32) -->
-    <title>GrailsApplicationScriptRunner (Grails 8.0.0-SNAPSHOT)</title>
+    <title>RunAppPidFileProvider (Grails 8.0.0-SNAPSHOT)</title>
     
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <link href="../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
-    <link href="../../../groovy.ico" type="image/x-icon" rel="icon">
-    <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
+    <link href="../../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
+    <link href="../../../../../groovy.ico" type="image/x-icon" rel="icon">
+    <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
 
 <body class="center">
 <script type="text/javascript"><!--
 if (location.href.indexOf('is-external=true') == -1) {
-    parent.document.title="GrailsApplicationScriptRunner (Grails 8.0.0-SNAPSHOT)";
+    parent.document.title="RunAppPidFileProvider (Grails 8.0.0-SNAPSHOT)";
 }
 //-->
 </script>
@@ -51,30 +51,30 @@ if (location.href.indexOf('is-external=true') == -1) {
     <!--   -->
 </a>
     <ul class="navList" title="Navigation">
-        <li><a href="../../../overview-summary.html">Overview</a></li>
+        <li><a href="../../../../../overview-summary.html">Overview</a></li>
         <li><a href="package-summary.html">Package</a></li>
         <li class="navBarCell1Rev">Class</li>
-        <li><a href="../../../deprecated-list.html">Deprecated</a></li>
-        <li><a href="../../../index-all.html">Index</a></li>
-        <li><a href="../../../help-doc.html">Help</a></li>
+        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+        <li><a href="../../../../../index-all.html">Index</a></li>
+        <li><a href="../../../../../help-doc.html">Help</a></li>
     </ul>
 </div>
 
 <div class="subNav">
     <div>
         <ul class="navList">
-            <li><a href="../../../index.html?grails/ui/script/GrailsApplicationScriptRunner" target="_top">Frames</a></li>
-            <li><a href="GrailsApplicationScriptRunner.html" target="_top">No Frames</a></li>
+            <li><a href="../../../../../index.html?org/grails/gradle/plugin/core/RunAppPidFileProvider" target="_top">Frames</a></li>
+            <li><a href="RunAppPidFileProvider.html" target="_top">No Frames</a></li>
         </ul>
     </div>
     <div>
         <ul class="subNavList">
             <li>Summary:&nbsp;</li>
-            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;Constructor&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
+            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
         </ul>
         <ul class="subNavList">
             <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
-            Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;Constructor&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
+            Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
         </ul>
     </div>
     <a name="skip-navbar_top">
@@ -85,27 +85,39 @@ if (location.href.indexOf('is-external=true') == -1) {
 <!-- ======== START OF CLASS DATA ======== -->
 <div class="header">
 
-    <div class="subTitle">Package: <strong>grails.ui.script</strong></div>
+    <div class="subTitle">Package: <strong>org.grails.gradle.plugin.core</strong></div>
 
-    <h2 title="[Groovy] Class GrailsApplicationScriptRunner" class="title">[Groovy] Class GrailsApplicationScriptRunner</h2>
+    <h2 title="[Groovy] Class RunAppPidFileProvider" class="title">[Groovy] Class RunAppPidFileProvider</h2>
 </div>
 <div class="contentContainer">
 <ul class="inheritance">
-<li><ul class="inheritance"></ul></li><li><ul class="inheritance"></ul></li><li><ul class="inheritance"></ul></li><li><ul class="inheritance"></ul></li><li>grails.ui.script.GrailsApplicationScriptRunner
+<li><ul class="inheritance"></ul></li><li>org.grails.gradle.plugin.core.RunAppPidFileProvider
 </ul>
 <div class="description">
     <ul class="blockList">
         <li class="blockList">
 
+            <dl>
+                <dt>All Implemented Interfaces and Traits:</dt>
+                <dd><a href='../../../../../org.gradle.process.CommandLineArgumentProvider.html'>CommandLineArgumentProvider</a></dd>
+            </dl>
+    
 
             <!-- todo: direct known subclasses -->
             <hr>
 
 <pre>@groovy.transform.CompileStatic
-class GrailsApplicationScriptRunner
-extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>DevelopmentGrailsApplication</a></pre>
+class RunAppPidFileProvider
+extends java.lang.Object
+implements <a href='../../../../../org.gradle.process.CommandLineArgumentProvider.html'>CommandLineArgumentProvider</a></pre>
+
+    <p> Provides the <CODE>-Dgrails.cli.pid.file</CODE> system property to the forked <CODE>bootRun</CODE> JVM so
+ that the application writes its own PID to a known project local file. The CLI <CODE>stop-app</CODE>
+ command reads that file to locate and terminate the running application.
 
-    <p> Used to run Grails scripts within the context of a Grails application <DL><DT><B>Authors:</B></DT><DD>Graeme Rocher</DD></DL><DL><DT><B>Since:</B></DT><DD>3.0</DD></DL></p>
+ <p>The PID file path is resolved lazily from a Provider when the argument list is built
+ at execution time, so the build directory is not forced during configuration and the value stays
+ configuration-cache safe.</p></p>
 
           </li>
     </ul>
@@ -136,31 +148,19 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
                         </tr>
                         
                         <tr class="altColor">
-                            <td class="colFirst"><code><strong>java.util.List&lt;java.io.File&gt;</strong></code>&nbsp;</td>
-                            <td class="colLast"><code><a href="#scripts">scripts</a></code><br></td>
+                            <td class="colFirst"><code><strong>Provider&lt;RegularFile&gt;</strong></code>&nbsp;</td>
+                            <td class="colLast"><code><a href="#pidFile">pidFile</a></code><br></td>
+                        </tr>
+                        
+                        <tr class="rowColor">
+                            <td class="colFirst"><code><strong>java.lang.String</strong></code>&nbsp;</td>
+                            <td class="colLast"><code><a href="#propertyName">propertyName</a></code><br></td>
                         </tr>
                         
                     </table>
                    </ul>
                 </li>
                 
-                 <li class="blockList"><a name="properties_summary"><!--   --></a>
-                     <ul class="blockList">
-                         <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited properties summary table">
-                             <caption><span>Inherited properties</span><span class="tabEnd">&nbsp;</span></caption>
-                             <tr>
-                                 <th class="colFirst" scope="col">Properties inherited from class</th>
-                                 <th class="colLast" scope="col">Properties</th>
-                             </tr>
-                                                     <tr class="altColor">
-                                <td class="colFirst"><strong><code>class <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></code></strong></td>
-                                <td class="colLast"><code>configuredEnvironment, developmentModeActive, enableBeanCreationProfiler</code></td>
-                            </tr>
-
-                         </table>
-                     </ul>
-                 </li>
-                 
             </ul>
         
 
@@ -168,6 +168,27 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
         
 
         
+        <!-- ======== CONSTRUCTOR SUMMARY ======== -->
+        <ul class="blockList">
+                <li class="blockList"><a name="constructor_summary"><!--   --></a>
+                    <h3>Constructor Summary</h3>
+                    <ul class="blockList">
+                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructors Summary table">
+                        <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+                        <tr>
+                            <th class="colFirst" scope="col">Constructor and description</th>
+                        </tr>
+                        
+                        <tr class="altColor">
+                            <td class="colFirst">
+                                <code><strong><a href="#RunAppPidFileProvider(java.lang.String, Provider)">RunAppPidFileProvider</a></strong>(java.lang.String propertyName, Provider&lt;RegularFile&gt; pidFile)</code><br></td>
+                        </tr>
+                        
+                    </table>
+                   </ul>
+              </li>
+        </ul>
+        
 
         
         <!-- ========== METHOD SUMMARY =========== -->
@@ -186,14 +207,8 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
                         
                         <tr class="altColor">
                             <td class="colFirst"><code></code></td>
-                            <td class="colLast"><code>static&nbsp;void</code></td>
-                            <td class="colLast"><code><strong><a href="#main(java.lang.String)">main</a></strong>(java.lang.String[] args)</code><br>Main method to run an existing Application class</td>
-                        </tr>
-                        
-                        <tr class="rowColor">
-                            <td class="colFirst"><code></code></td>
-                            <td class="colLast"><code><a href='../../../org.springframework.context.ConfigurableApplicationContext.html'>ConfigurableApplicationContext</a></code></td>
-                            <td class="colLast"><code><strong><a href="#run(java.lang.String)">run</a></strong>(java.lang.String[] args)</code><br></td>
+                            <td class="colLast"><code>java.lang.Iterable&lt;java.lang.String&gt;</code></td>
+                            <td class="colLast"><code><strong><a href="#asArguments()">asArguments</a></strong>()</code><br></td>
                         </tr>
                         
                     </table>
@@ -211,12 +226,8 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
                         </tr>
                         
                         <tr class="altColor">
-                            <td class="colFirst"><code>class <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>DevelopmentGrailsApplication</a></code></td>
-                            <td class="colLast"><code><a href='../../../grails/ui/support/DevelopmentGrailsApplication.html#configureApplicationContextClass()'>configureApplicationContextClass</a></code></td>
-                        </tr>
-                        <tr class="altColor">
-                            <td class="colFirst"><code>class <a href='../../../grails/boot/GrailsApp.html'>GrailsApp</a></code></td>
-                            <td class="colLast"><code><a href='../../../grails/boot/GrailsApp.html#compileGroovyFile(org.codehaus.groovy.control.CompilerConfiguration, java.io.File)'>compileGroovyFile</a>, <a href='../../../grails/boot/GrailsApp.html#configureDirectoryWatcher(org.grails.io.watch.DirectoryWatcher, java.lang.String)'>configureDirectoryWatcher</a>, <a href='../../../grails/boot/GrailsApp.html#configureEnvironment(org.springframework.core.env.ConfigurableEnvironment, java.la [...]
+                            <td class="colFirst"><code>class java.lang.Object</code></td>
+                            <td class="colLast"><code>java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int)</code></td>
                         </tr>
                     </table>
                    </ul>
@@ -243,10 +254,18 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
                 </a>
                     <h3>Property Detail</h3>
                     
-                        <a name="scripts"><!-- --></a>
+                        <a name="pidFile"><!-- --></a>
                         <ul class="blockListLast">
                             <li class="blockList">
-                                <h4>java.util.List&lt;java.io.File&gt; <strong>scripts</strong></h4>
+                                <h4>@org.gradle.api.tasks.Internal<br>final&nbsp;Provider&lt;RegularFile&gt; <strong>pidFile</strong></h4>
+                                <p></p>
+                            </li>
+                        </ul>
+                    
+                        <a name="propertyName"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4>@org.gradle.api.tasks.Internal<br>final&nbsp;java.lang.String <strong>propertyName</strong></h4>
                                 <p></p>
                             </li>
                         </ul>
@@ -258,6 +277,24 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
             
 
             
+            <!-- =========== CONSTRUCTOR DETAIL =========== -->
+            <ul class="blockList">
+                <li class="blockList"><a name="constructor_detail">
+                    <!--   -->
+                </a>
+                    <h3>Constructor Detail</h3>
+                    
+                        <a name="RunAppPidFileProvider(java.lang.String, Provider)"><!-- --></a>
+                        <ul class="blockListLast">
+                            <li class="blockList">
+                                <h4><strong>RunAppPidFileProvider</strong>(java.lang.String propertyName, Provider&lt;RegularFile&gt; pidFile)</h4>
+                                <p></p>
+                            </li>
+                        </ul>
+                    
+                </li>
+            </ul>
+            
 
 
             
@@ -268,18 +305,10 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
                 </a>
                     <h3>Method Detail</h3>
                     
-                        <a name="main(java.lang.String)"><!-- --></a>
-                        <ul class="blockListLast">
-                            <li class="blockList">
-                                <h4>static&nbsp;void <strong>main</strong>(java.lang.String[] args)</h4>
-                                <p> Main method to run an existing Application class <DL><DT><B>Parameters:</B></DT><DD><code>args</code> -  The last argument is the Application class name. All other args are script names</DD></DL></p>
-                            </li>
-                        </ul>
-                    
-                        <a name="run(java.lang.String)"><!-- --></a>
+                        <a name="asArguments()"><!-- --></a>
                         <ul class="blockListLast">
                             <li class="blockList">
-                                <h4>@java.lang.Override<br><a href='../../../org.springframework.context.ConfigurableApplicationContext.html'>ConfigurableApplicationContext</a> <strong>run</strong>(java.lang.String[] args)</h4>
+                                <h4>@java.lang.Override<br>java.lang.Iterable&lt;java.lang.String&gt; <strong>asArguments</strong>()</h4>
                                 <p></p>
                             </li>
                         </ul>
@@ -299,30 +328,30 @@ extends <a href='../../../grails/ui/support/DevelopmentGrailsApplication.html'>D
     <!--   -->
 </a>
     <ul class="navList" title="Navigation">
-        <li><a href="../../../overview-summary.html">Overview</a></li>
+        <li><a href="../../../../../overview-summary.html">Overview</a></li>
         <li><a href="package-summary.html">Package</a></li>
         <li class="navBarCell1Rev">Class</li>
-        <li><a href="../../../deprecated-list.html">Deprecated</a></li>
-        <li><a href="../../../index-all.html">Index</a></li>
-        <li><a href="../../../help-doc.html">Help</a></li>
+        <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+        <li><a href="../../../../../index-all.html">Index</a></li>
+        <li><a href="../../../../../help-doc.html">Help</a></li>
     </ul>
 </div>
 
 <div class="subNav">
     <div>
         <ul class="navList">
-            <li><a href="../../../index.html?grails/ui/script/GrailsApplicationScriptRunner" target="_top">Frames</a></li>
-            <li><a href="GrailsApplicationScriptRunner.html" target="_top">No Frames</a></li>
+            <li><a href="../../../../../index.html?org/grails/gradle/plugin/core/RunAppPidFileProvider" target="_top">Frames</a></li>
+            <li><a href="RunAppPidFileProvider.html" target="_top">No Frames</a></li>
         </ul>
     </div>
     <div>
         <ul class="subNavList">
             <li>Summary:&nbsp;</li>
-            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;Constructor&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
+            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
         </ul>
         <ul class="subNavList">
             <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
-            Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;Constructor&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
+            Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
         </ul>
     </div>
     <p><!-- Matomo -->
diff --git a/docs/snapshot/api/org/grails/gradle/plugin/core/package-frame.html b/docs/snapshot/api/org/grails/gradle/plugin/core/package-frame.html
index f738264da6b..4bd7c1325af 100644
--- a/docs/snapshot/api/org/grails/gradle/plugin/core/package-frame.html
+++ b/docs/snapshot/api/org/grails/gradle/plugin/core/package-frame.html
@@ -43,7 +43,7 @@
 <div class="indexContainer">
     <h2>Classes</h2>
     <ul>
-        <li><a href="GrailsAppBaseDirProvider.html" title="class in org.grails.gradle.plugin.core" target="classFrame">GrailsAppBaseDirProvider</a></li><li><a href="GrailsExtension.html" title="class in org.grails.gradle.plugin.core" target="classFrame">GrailsExtension</a></li><li><a href="GrailsGradlePlugin.html" title="class in org.grails.gradle.plugin.core" target="classFrame">GrailsGradlePlugin</a></li><li><a href="GrailsPluginGradlePlugin.html" title="class in org.grails.gradle.plug [...]
+        <li><a href="BootRunExitCodeVerifier.html" title="class in org.grails.gradle.plugin.core" target="classFrame">BootRunExitCodeVerifier</a></li><li><a href="GrailsAppBaseDirProvider.html" title="class in org.grails.gradle.plugin.core" target="classFrame">GrailsAppBaseDirProvider</a></li><li><a href="GrailsExtension.html" title="class in org.grails.gradle.plugin.core" target="classFrame">GrailsExtension</a></li><li><a href="GrailsGradlePlugin.html" title="class in org.grails.gradle. [...]
     </ul>
 </div>
 
diff --git a/docs/snapshot/api/org/grails/gradle/plugin/core/package-summary.html b/docs/snapshot/api/org/grails/gradle/plugin/core/package-summary.html
index 907403cd9b8..96490fb3be5 100644
--- a/docs/snapshot/api/org/grails/gradle/plugin/core/package-summary.html
+++ b/docs/snapshot/api/org/grails/gradle/plugin/core/package-summary.html
@@ -88,6 +88,14 @@ function windowTitle()
                         <th class="colFirst" scope="col">Class</th>
                         <th class="colLast" scope="col">Description</th>
                     </tr>
+<tr class="altColor">
+                            <td class="colOne">
+                                <strong><a href="BootRunExitCodeVerifier.html" title="class in org/grails/gradle/plugin/core">
+                                    BootRunExitCodeVerifier
+                                </a></strong>
+                            </td>
+                            <td>A <CODE>bootRun</CODE> <CODE>doLast</CODE> action that treats a deliberate stop as a successful build.</td>
+                        </tr>
 <tr class="altColor">
                             <td class="colOne">
                                 <strong><a href="GrailsAppBaseDirProvider.html" title="class in org/grails/gradle/plugin/core">
@@ -129,6 +137,15 @@ function windowTitle()
                             </td>
                             <td>Gradle plugin for adding separate src/integration-test folder to hold integration tests.</td>
                         </tr>
+<tr class="altColor">
+                            <td class="colOne">
+                                <strong><a href="RunAppPidFileProvider.html" title="class in org/grails/gradle/plugin/core">
+                                    RunAppPidFileProvider
+                                </a></strong>
+                            </td>
+                            <td>Provides the <CODE>-Dgrails.cli.pid.file</CODE> system property to the forked <CODE>bootRun</CODE> JVM so
+ that the application writes its own PID to a known project local file. </td>
+                        </tr>
 <tr class="altColor">
                             <td class="colOne">
                                 <strong><a href="TestPhase.html" title="class in org/grails/gradle/plugin/core">
diff --git a/docs/snapshot/api/org/grails/gradle/plugin/web/GrailsWebGradlePlugin.html b/docs/snapshot/api/org/grails/gradle/plugin/web/GrailsWebGradlePlugin.html
index 70d401da2f0..54659b8003c 100644
--- a/docs/snapshot/api/org/grails/gradle/plugin/web/GrailsWebGradlePlugin.html
+++ b/docs/snapshot/api/org/grails/gradle/plugin/web/GrailsWebGradlePlugin.html
@@ -228,7 +228,7 @@ extends <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin
                         
                         <tr class="altColor">
                             <td class="colFirst"><code>class <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html'>GrailsGradlePlugin</a></code></td>
-                            <td class="colLast"><code><a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#apply(org.gradle.api.Project)'>apply</a>, <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#applyBasePlugins(org.gradle.api.Project)'>applyBasePlugins</a>, <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#applyDefaultPlugins(org.gradle.api.Project)'>applyDefaultPlugins</a>, <a href='../../../../../org/ [...]
+                            <td class="colLast"><code><a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#apply(org.gradle.api.Project)'>apply</a>, <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#applyBasePlugins(org.gradle.api.Project)'>applyBasePlugins</a>, <a href='../../../../../org/grails/gradle/plugin/core/GrailsGradlePlugin.html#applyDefaultPlugins(org.gradle.api.Project)'>applyDefaultPlugins</a>, <a href='../../../../../org/ [...]
                         </tr>
                     </table>
                    </ul>
diff --git a/docs/snapshot/grails-data/developer-manual/gettingStarted.html b/docs/snapshot/grails-data/developer-manual/gettingStarted.html
index 55fc68df10d..a720d334294 100644
--- a/docs/snapshot/grails-data/developer-manual/gettingStarted.html
+++ b/docs/snapshot/grails-data/developer-manual/gettingStarted.html
@@ -523,7 +523,7 @@ cd grails-core</pre>
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/introduction.html b/docs/snapshot/grails-data/developer-manual/introduction.html
index 2883ea37c28..6b46933e0ab 100644
--- a/docs/snapshot/grails-data/developer-manual/introduction.html
+++ b/docs/snapshot/grails-data/developer-manual/introduction.html
@@ -476,7 +476,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/stepByStep.html b/docs/snapshot/grails-data/developer-manual/stepByStep.html
index 5cd7241c20f..212339ae00f 100644
--- a/docs/snapshot/grails-data/developer-manual/stepByStep.html
+++ b/docs/snapshot/grails-data/developer-manual/stepByStep.html
@@ -621,7 +621,7 @@ class XyzTestSuite {
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/testing.html b/docs/snapshot/grails-data/developer-manual/testing.html
index a1018beba72..e0a400eb324 100644
--- a/docs/snapshot/grails-data/developer-manual/testing.html
+++ b/docs/snapshot/grails-data/developer-manual/testing.html
@@ -511,7 +511,7 @@ class PagedResultSpec extends GormDatastoreSpec{
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/understandingApi.html b/docs/snapshot/grails-data/developer-manual/understandingApi.html
index 4374f838c41..d9ebb26d823 100644
--- a/docs/snapshot/grails-data/developer-manual/understandingApi.html
+++ b/docs/snapshot/grails-data/developer-manual/understandingApi.html
@@ -454,7 +454,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/understandingApi/datastoreBasics.html b/docs/snapshot/grails-data/developer-manual/understandingApi/datastoreBasics.html
index 4010e70c9f8..5a947de5102 100644
--- a/docs/snapshot/grails-data/developer-manual/understandingApi/datastoreBasics.html
+++ b/docs/snapshot/grails-data/developer-manual/understandingApi/datastoreBasics.html
@@ -561,7 +561,7 @@ protected Session createSession(PropertyResolver connDetails) {
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/understandingApi/gormApis.html b/docs/snapshot/grails-data/developer-manual/understandingApi/gormApis.html
index 220d722c030..18dc87e891a 100644
--- a/docs/snapshot/grails-data/developer-manual/understandingApi/gormApis.html
+++ b/docs/snapshot/grails-data/developer-manual/understandingApi/gormApis.html
@@ -496,7 +496,7 @@ class Neo4jEntityTraitProvider implements GormEntityTraitProvider {
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/understandingApi/gormEnhancer.html b/docs/snapshot/grails-data/developer-manual/understandingApi/gormEnhancer.html
index ed22eaf160f..2770b41d9fb 100644
--- a/docs/snapshot/grails-data/developer-manual/understandingApi/gormEnhancer.html
+++ b/docs/snapshot/grails-data/developer-manual/understandingApi/gormEnhancer.html
@@ -488,7 +488,7 @@ enhancer.enhance()</code></pre>
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/understandingApi/implementingCrud.html b/docs/snapshot/grails-data/developer-manual/understandingApi/implementingCrud.html
index 07118f4e999..4f004ffc8d1 100644
--- a/docs/snapshot/grails-data/developer-manual/understandingApi/implementingCrud.html
+++ b/docs/snapshot/grails-data/developer-manual/understandingApi/implementingCrud.html
@@ -673,7 +673,7 @@ protected void deleteEntry(String family, final Object key, final Object entry)
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/understandingApi/implementingQueries.html b/docs/snapshot/grails-data/developer-manual/understandingApi/implementingQueries.html
index 3797f6a8f48..27a42eb36d5 100644
--- a/docs/snapshot/grails-data/developer-manual/understandingApi/implementingQueries.html
+++ b/docs/snapshot/grails-data/developer-manual/understandingApi/implementingQueries.html
@@ -588,7 +588,7 @@ If, for instance, the underlying datastore does not support the calculation of a
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/developer-manual/understandingApi/secondaryIndexes.html b/docs/snapshot/grails-data/developer-manual/understandingApi/secondaryIndexes.html
index 25900a0ed97..5002ab1ccf3 100644
--- a/docs/snapshot/grails-data/developer-manual/understandingApi/secondaryIndexes.html
+++ b/docs/snapshot/grails-data/developer-manual/understandingApi/secondaryIndexes.html
@@ -526,7 +526,7 @@ If the underlying datastore supports secondary indexes then it is ok to just ret
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/grails-data/whats-new-manual/index.html b/docs/snapshot/grails-data/whats-new-manual/index.html
index 5f2b2f6fbb0..b56e0697203 100644
--- a/docs/snapshot/grails-data/whats-new-manual/index.html
+++ b/docs/snapshot/grails-data/whats-new-manual/index.html
@@ -527,7 +527,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
 <div id="footer">
 <div id="footer-text">
 Version 8.0.0-SNAPSHOT<br>
-Last updated 2026-06-24 22:16:44 UTC
+Last updated 2026-06-25 23:59:09 UTC
 </div>
 </div>
 </body>
diff --git a/docs/snapshot/guide/gettingStarted.html b/docs/snapshot/guide/gettingStarted.html
index 1af290e8826..e019664286f 100644
--- a/docs/snapshot/guide/gettingStarted.html
+++ b/docs/snapshot/guide/gettingStarted.html
@@ -1155,8 +1155,8 @@ For larger projects, it may be beneficial to adjust memory settings, based on av
 grails&gt; run-app
 | Grails application running at http://localhost:8080 in environment: development
 grails&gt; stop-app
-| Shutting down application...
-| Application shutdown.
+| Stopping application...
+| Application stopped.
 grails&gt; run-app
 | Grails application running at http://localhost:8080 in environment: development</code></pre>
 </div>
diff --git a/docs/snapshot/guide/single.html b/docs/snapshot/guide/single.html
index 3c65039c1dd..abb38ecc3af 100644
--- a/docs/snapshot/guide/single.html
+++ b/docs/snapshot/guide/single.html
@@ -1885,8 +1885,8 @@ For larger projects, it may be beneficial to adjust memory settings, based on av
 grails&gt; run-app
 | Grails application running at http://localhost:8080 in environment: development
 grails&gt; stop-app
-| Shutting down application...
-| Application shutdown.
+| Stopping application...
+| Application stopped.
 grails&gt; run-app
 | Grails application running at http://localhost:8080 in environment: development</code></pre>
 </div>
@@ -7104,6 +7104,31 @@ grailsGradlePluginVersion=6.0.0</code></pre>
 <div class="paragraph">
 <p>Micronaut for Spring 4.5.1 provides seamless integration between Micronaut and Spring, allowing you to leverage the strengths of both frameworks in your Grails project.</p>
 </div>
+<div class="sect4">
+<h5 id="_12_27_stop_app_no_longer_uses_jmx_or_the_actuator_shutdown_endpoint">12.27 stop-app no longer uses JMX or the Actuator shutdown endpoint</h5>
+<div class="paragraph">
+<p>The interactive CLI <code>stop-app</code> command no longer stops a running application through JMX or the Spring Boot Actuator <code>/actuator/shutdown</code> endpoint. Both mechanisms were unreliable on current JDKs and default configurations.</p>
+</div>
+<div class="paragraph">
+<p>Instead, <code>run-app</code> records the application&#8217;s process id in a PID file (<code>build/run-app.pid</code>) and <code>stop-app</code> reads that file to stop the process directly. As a result:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>The <code>--host</code> and <code>--port</code> options of <code>stop-app</code> have been removed. <code>stop-app</code> now stops the application started by <code>run-app</code> for the current project. If you previously scripted <code>grails stop-app --host=&#8230;&#8203; --port=&#8230;&#8203;</code>, drop those options.</p>
+</li>
+<li>
+<p><code>stop-app</code> only stops an application that was started with <code>run-app</code> for the same project. It can be invoked from interactive mode or from a separate terminal.</p>
+</li>
+<li>
+<p>On Linux and macOS the application is shut down gracefully (the equivalent of <code>SIGTERM</code>), so JVM shutdown hooks and Spring&#8217;s orderly shutdown run. On Windows the application is terminated on a best-effort basis and a graceful shutdown is not guaranteed.</p>
+</li>
+<li>
+<p>Every <code>bootRun</code> invocation (including a direct <code>./gradlew bootRun</code>) now writes <code>build/run-app.pid</code> while the application is running; the file is removed once the application stops. Customizing the Gradle build directory (<code>layout.buildDirectory</code>) is not supported by <code>stop-app</code>, which always looks for the PID file under the conventional <code>build</code> directory.</p>
+</li>
+</ul>
+</div>
+</div>
 </div>
 <div class="sect3">
 <h4 id="_13_upgrading_the_spring_security_plugin">13. Upgrading the Spring Security Plugin</h4>
diff --git a/docs/snapshot/guide/upgrading.html b/docs/snapshot/guide/upgrading.html
index 9a1f404d0d2..d03deb652b2 100644
--- a/docs/snapshot/guide/upgrading.html
+++ b/docs/snapshot/guide/upgrading.html
@@ -4989,6 +4989,31 @@ grailsGradlePluginVersion=6.0.0</code></pre>
 <div class="paragraph">
 <p>Micronaut for Spring 4.5.1 provides seamless integration between Micronaut and Spring, allowing you to leverage the strengths of both frameworks in your Grails project.</p>
 </div>
+<div class="sect4">
+<h5 id="_12_27_stop_app_no_longer_uses_jmx_or_the_actuator_shutdown_endpoint">12.27 stop-app no longer uses JMX or the Actuator shutdown endpoint</h5>
+<div class="paragraph">
+<p>The interactive CLI <code>stop-app</code> command no longer stops a running application through JMX or the Spring Boot Actuator <code>/actuator/shutdown</code> endpoint. Both mechanisms were unreliable on current JDKs and default configurations.</p>
+</div>
+<div class="paragraph">
+<p>Instead, <code>run-app</code> records the application&#8217;s process id in a PID file (<code>build/run-app.pid</code>) and <code>stop-app</code> reads that file to stop the process directly. As a result:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>The <code>--host</code> and <code>--port</code> options of <code>stop-app</code> have been removed. <code>stop-app</code> now stops the application started by <code>run-app</code> for the current project. If you previously scripted <code>grails stop-app --host=&#8230;&#8203; --port=&#8230;&#8203;</code>, drop those options.</p>
+</li>
+<li>
+<p><code>stop-app</code> only stops an application that was started with <code>run-app</code> for the same project. It can be invoked from interactive mode or from a separate terminal.</p>
+</li>
+<li>
+<p>On Linux and macOS the application is shut down gracefully (the equivalent of <code>SIGTERM</code>), so JVM shutdown hooks and Spring&#8217;s orderly shutdown run. On Windows the application is terminated on a best-effort basis and a graceful shutdown is not guaranteed.</p>
+</li>
+<li>
+<p>Every <code>bootRun</code> invocation (including a direct <code>./gradlew bootRun</code>) now writes <code>build/run-app.pid</code> while the application is running; the file is removed once the application stops. Customizing the Gradle build directory (<code>layout.buildDirectory</code>) is not supported by <code>stop-app</code>, which always looks for the PID file under the conventional <code>build</code> directory.</p>
+</li>
+</ul>
+</div>
+</div>
 </div>
 <div class="sect3">
 <h4 id="_13_upgrading_the_spring_security_plugin">13. Upgrading the Spring Security Plugin</h4>
diff --git a/docs/snapshot/ref/Command Line/stop-app.html b/docs/snapshot/ref/Command Line/stop-app.html
index 1da9e2b7708..508c71b3e56 100644
--- a/docs/snapshot/ref/Command Line/stop-app.html	
+++ b/docs/snapshot/ref/Command Line/stop-app.html	
@@ -179,7 +179,7 @@ Companies deploy assistants like this [](https://kapa.ai) on docs via [website w
 <div class="sect2">
 <h3 id="_purpose">Purpose</h3>
 <div class="paragraph">
-<p>Stops a running Grails application in an embedded servlet container.</p>
+<p>Stops a Grails application that was started with the <a href="../ref/Command%20Line/run-app.html">run-app</a> command.</p>
 </div>
 <div class="admonitionblock note">
 <table>
@@ -188,7 +188,7 @@ Companies deploy assistants like this [](https://kapa.ai) on docs via [website w
 <i class="fa icon-note" title="Note"></i>
 </td>
 <td class="content">
-This command will work in development mode only.
+This command works in development mode only.
 </td>
 </tr>
 </table>
@@ -198,38 +198,30 @@ This command will work in development mode only.
 <h3 id="_examples">Examples</h3>
 <div class="listingblock">
 <div class="content">
-<pre class="CodeRay highlight"><code data-lang="groovy">grails stop-app
-grails stop-app --port=<span class="integer">9090</span> --host=mywebsite</code></pre>
+<pre class="CodeRay highlight"><code data-lang="groovy"><span class="error">$</span> grails
+grails&gt; run-app
+grails&gt; stop-app</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>It can also be run as a separate invocation, including from a different terminal than the one that started the application:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="bash">$ grails stop-app</code></pre>
 </div>
 </div>
 </div>
 <div class="sect2">
 <h3 id="_description">Description</h3>
 <div class="paragraph">
-<p>Arguments:</p>
-</div>
-<div class="ulist">
-<ul>
-<li>
-<p><code>port</code> - Specifies the port which the Grails application is running on (defaults to 8080 for HTTP or 8443 for HTTPS)</p>
-</li>
-<li>
-<p><code>host</code> - Specifies the host the Grails application is bound to</p>
-</li>
-</ul>
+<p>Use <code>stop-app</code> to stop the application for the current project after it has been started with <code>run-app</code>. The command can be run from interactive mode or as a separate command from another terminal.</p>
 </div>
 <div class="paragraph">
-<p>Supported system properties:</p>
+<p>On Linux and macOS the application is shut down gracefully, so JVM shutdown hooks and Spring&#8217;s orderly shutdown run. On Windows the application is terminated on a best-effort basis and a graceful shutdown is not guaranteed.</p>
 </div>
-<div class="ulist">
-<ul>
-<li>
-<p><code>server.port</code> - Same as <code>port</code> argument.</p>
-</li>
-<li>
-<p><code>server.address</code> - Same as <code>host</code> argument.</p>
-</li>
-</ul>
+<div class="paragraph">
+<p>If no application started by <code>run-app</code> is running for the project, <code>stop-app</code> reports that the application is not running.</p>
 </div>
 </div>
 </div>