#246 Exclude codechicken from build jars

This commit is contained in:
mezz committed 2014-09-27 16:52:58 -07:00
1 parent c43d057339
commit 5fb04e4467
1 file changed
+2
+2
View File
@@ -185,6 +185,7 @@ jar {
task mainJarSigned ( type: Jar, dependsOn: 'reobf' ) {
from (zipTree(jar.getArchivePath())) {
exclude '**/api/**'
exclude '**/codechicken/**'
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
@@ -221,6 +222,7 @@ task mainJar ( type: Zip, dependsOn: mainJarSigned ) {
task devJarSigned ( type: Jar, dependsOn: 'classes' ) {
from(sourceSets.main.output) {
exclude '**/api/**'
exclude '**/codechicken/**'
}
destinationDir = file("build/tmp")