mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 23:39:41 +00:00
#246 Exclude codechicken from build jars
This commit is contained in:
1 parent
c43d057339
commit
5fb04e4467
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