jar { | |
classifier = 'universal' | |
manifest { | |
attributes FMLCorePlugin: "li.cil.oc.common.launch.TransformerLoader", FMLCorePluginContainsFMLMod: "true" | |
} | |
} | |
// because the normal default jar task has been modified to be obfuscated | |
task deobfJar(type: Jar) { | |
from sourceSets.main.output | |
classifier = 'deobf' | |
} | |
task apiJar(type: Jar) { | |
from sourceSets.main.output | |
classifier = 'api' | |
include 'li/cil/oc/api/**' | |
} | |
artifacts { | |
archives deobfJar | |
archives apiJar | |
} |