Created
March 10, 2016 15:13
-
-
Save foragerr/4d211b03ad0f71ac066b to your computer and use it in GitHub Desktop.
Gradle tasks to customize jars
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
apply plugin: 'java' | |
task gen(type: Jar){ | |
baseName = 'genJar' | |
with jar | |
} | |
task gen2(type: Jar){ | |
baseName = 'gen2Jar' | |
from sourceSets.main.output | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment