Skip to content

Instantly share code, notes, and snippets.

@yuanliwei
Created October 23, 2018 10:04
Show Gist options
  • Save yuanliwei/8403944bfaa039419e7a430b10c8ff08 to your computer and use it in GitHub Desktop.
Save yuanliwei/8403944bfaa039419e7a430b10c8ff08 to your computer and use it in GitHub Desktop.
gradle test
```
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