Created
January 14, 2019 09:07
-
-
Save rokinmaharjan/750d814fe96876d9275b0414d2e8658c to your computer and use it in GitHub Desktop.
Creating zip using gradle
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 buildZip(type: Zip) { | |
| from compileJava | |
| from processResources | |
| into('lib') { | |
| from configurations.compileClasspath | |
| } | |
| } | |
| build.dependsOn buildZip | |
| Then run ./gradlew clean build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment