Last active
October 2, 2015 06:23
-
-
Save gki/1025afd39df9152b81a4 to your computer and use it in GitHub Desktop.
[Gradle] call shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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