Skip to content

Instantly share code, notes, and snippets.

@gki
Last active October 2, 2015 06:23
Show Gist options
  • Save gki/1025afd39df9152b81a4 to your computer and use it in GitHub Desktop.
Save gki/1025afd39df9152b81a4 to your computer and use it in GitHub Desktop.
[Gradle] call shell
task callShellCommand << {
exec {
executable "sh"
args "-c", "ls -la"
}
}
task callShellFile << {
exec {
executable "sh"
args "-c", "$projectDir/myWhoami.sh"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment