This is a Gradle project runner. It builds, unpacks, and runs a Gradle project on the current terminal.
Also allows SIGINT
(Ctrl+C) to be captured by your application.
./grun GRADLE_ROOT MY_PROJECT [ARG1 ARG2 ...]
# For example: my Gradle root is in the "code" directory withing my overall "solution" directory. The project I want to run is "say":
# /solution/
# /grun
# /code/
# /gradlew
# /say/
./grun code say "Hello, world!"
It is highly recommended that you build it yourself on your platform.
If you want a pre-compiled binary for macOS, Windows, or Ubuntu, check the latest release. These are built using GitHub Actions on GitHub Runners.
Clone this repo. Then:
./build MinSizeRel clean
After building, grun
executable is in the code/bin
directory.