mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
#246 Exclude codechicken from build jars
This commit is contained in:
1 parent
a6708ac4ab
commit
3c9ef358b9
1 file changed
+2
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user