'Gradle compile and run

Is it possible to split a "gradle run" task into a compile task and a run task, so that subsequent runs will invoke the same compiled binaries (jar Java) for consistency.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source