#246 Exclude codechicken from build jars

This commit is contained in:
mezz authored and CovertJaguar committed 2014-09-27 17:01:13 -07:00
1 parent a6708ac4ab
commit 3c9ef358b9
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")