Created
May 19, 2015 03:21
-
-
Save isopan/23be91d6f73614fd20c6 to your computer and use it in GitHub Desktop.
Android Studio New Module
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 clearJar(type: Delete) { | |
delete 'build/libs/mylibrary.jar' | |
} | |
task makeJar(type: Copy) { | |
from('build/intermediates/bundles/release/') | |
into('release/') | |
include('classes.jar') | |
rename('classes.jar', 'mylibrary.jar') | |
} | |
makeJar.dependsOn(clearJar, build) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment