Skip to content

Instantly share code, notes, and snippets.

@supercoffee
Created February 13, 2016 06:44
Show Gist options
  • Save supercoffee/405c6aa0c0bb955620fb to your computer and use it in GitHub Desktop.
Save supercoffee/405c6aa0c0bb955620fb to your computer and use it in GitHub Desktop.
Zip the source folder and README of an Android project for submission
task zipTask(type: Zip) {
baseName = 'bDaschelLab5'
rename 'app-debug.apk', "${baseName}.apk"
into baseName
from 'build/outputs/apk/app-debug.apk'
from 'README.md'
from ('src') {
into 'src'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment