Class DaemonUtils
java.lang.Object
net.fabricmc.loom.util.gradle.daemon.DaemonUtils
This uses a vast amount of Gradle internal APIs, however this is only used when the JVM is in an unrecoverable state.
The alternative is to kill the JVM, using System.exit, which is not ideal and leaves scary messages in the log.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstopWhenIdle(DaemonUtils.Context context) static voidtryStopGradleDaemon(DaemonUtils.Context context) Request the Gradle daemon to stop when it becomes idle.
-
Method Details
-
tryStopGradleDaemon
Request the Gradle daemon to stop when it becomes idle. -
stopWhenIdle
-