Created
September 11, 2015 23:04
-
-
Save diegopacheco/e32c6fc2f0c4febb872a to your computer and use it in GitHub Desktop.
How to Run BASH script from Gradle Task?
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 hello(type: Exec) { | |
executable "sh" | |
args "-c", "echo 'hello from your shell'" | |
} |
This doesn't seems to work with latest gradle version.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks a lot for your help, you saved my day about the shell scripts