wololock / groovy-4-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Groovy 4 Examples

Install the latest Groovy

sdk install groovy

Get SDKMAN - https://sdkman.io/

Run a single script with groovy command

cd examples/

groovy 01_basic_switch_expressions.groovy

Run a single script using Gradle

./gradlew -q runScript -PmainClass=01_basic_switch_expressions

Run all scripts using Gradle

chmod +x ./runall.sh

./runall.sh

About


Languages

Language:Shell 100.0%