Created
October 23, 2018 10:04
-
-
Save yuanliwei/8403944bfaa039419e7a430b10c8ff08 to your computer and use it in GitHub Desktop.
gradle test
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
| ``` | |
| task test() { | |
| println 'wertyuk' | |
| //println 'git pull'.execute().text | |
| def result = 'git ls-remote --refs [email protected]:AndroidGroup/resp.git' | |
| .execute().text.split('\n').collect { it.split('/')[2] } | |
| println '------' | |
| result.each { println it } | |
| println '------' | |
| } | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment