Created
February 13, 2016 06:44
-
-
Save supercoffee/405c6aa0c0bb955620fb to your computer and use it in GitHub Desktop.
Zip the source folder and README of an Android project for submission
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 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