concept help in category gradle

appears as: help, help
Gradle in Action - corrected 9052019

This is an excerpt from Manning's book Gradle in Action - corrected 9052019.

Give it a shot and try running gradle groupTherapy --daemon. Wow, you got your startup and execution time down to about one second! Subsequent invocations of the gradle command will need to declare the --daemon option explicitly. In practice, you might want to configure the daemon with the help of a system property to reuse an already started daemon process. For more information on the daemon’s configuration, check out the online documentation at http://mng.bz/mmJn. Keep in mind that a daemon process will only be forked once even though you add the command-line option --daemon. The daemon process will automatically expire after a three-hour idle time. At any time you can choose to execute your build without using the daemon by adding the command-line option --no-daemon. To stop the daemon process, manually run gradle --stop. That’s the Gradle daemon in a nutshell. For a deep dive into all configuration options and intricacies, please refer to the Gradle online documentation at http://gradle.org/docs/current/userguide/gradle_daemon.html.

If none of these rules apply or the scanned class is abstract, it won’t be executed. It’s time to apply what you’ve learned in the context of a full example. In the following section, you’ll write unit tests with the help of different testing frameworks and execute them with Gradle.