Added designer jar

This commit is contained in:
modmuss50 2016-04-16 09:02:33 +01:00
parent 3abfc3cb13
commit 70f458d089
No known key found for this signature in database
GPG key ID: 1838986A0F12E8EE
2 changed files with 12 additions and 3 deletions

View file

@ -110,6 +110,14 @@ task deobfJar(type: Jar) {
from sourceSets.main.output
exclude "**/*.psd"
classifier = 'dev'
}
task designerJar(type: Jar) {
from sourceSets.main.output
classifier = 'designer'
exclude "techreborn/**"
include "techreborn/manual/designer"
include "techreborn/manual/saveFormat"
manifest { attributes 'Main-Class': 'techreborn.manual.designer.ManualDesigner' }
}
@ -134,13 +142,15 @@ task apiJar(type: Jar) {
}
apiJar.mustRunAfter deobfJar
designerJar.mustRunAfter apiJar
artifacts {
archives deobfJar
archives apiJar
archives designerJar
}
build.dependsOn deobfJar, apiJar
build.dependsOn deobfJar, apiJar, designerJar
uploadArchives {
repositories {