Files
dotfiles/dot_bash_it/plugins/available/gradle.plugin.bash
2022-05-05 22:20:02 +02:00

13 lines
257 B
Bash

cite about-plugin
about-plugin 'Add a gw command to use gradle wrapper if present, else use system gradle'
function gw() {
local file="gradlew"
local result
result="$(_bash-it-find-in-ancestor "${file}")"
# Call gradle
"${result:-gradle}" $*
}