Created
December 21, 2020 16:03
-
-
Save gavelez/c7db0559665101a6bb9d3e824e0062e3 to your computer and use it in GitHub Desktop.
Execute a command line statement from build.gradle script
This file contains hidden or 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
def gitHash = 'git rev-parse --short HEAD'.execute().text.trim() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment