deobf fat api jar
This commit is contained in:
parent
1db329c8f5
commit
dae4689c34
@ -32,19 +32,23 @@ minecraft {
|
|||||||
mappings channel: mcp_channel, version: mcp_version
|
mappings channel: mcp_channel, version: mcp_version
|
||||||
}
|
}
|
||||||
|
|
||||||
task deobfApiJar(type: Jar) {
|
task deobfApiJar(type: Jar, dependsOn: classes) {
|
||||||
classifier = "deobf"
|
classifier = "deobf"
|
||||||
duplicatesStrategy = "EXCLUDE"
|
duplicatesStrategy = "EXCLUDE"
|
||||||
from("$buildDir/classes/java/main")
|
from("$buildDir/classes/java/main")
|
||||||
from(fileTree(project(":Noise2D").buildDir.getPath() + "/classes/java/main"))
|
from(project(":Noise2D").buildDir.getPath() + "/classes/java/main")
|
||||||
from(fileTree(project(":FeatureManager").buildDir.getPath() + "/classes/java/main"))
|
from(project(":FeatureManager").buildDir.getPath() + "/classes/java/main")
|
||||||
from(fileTree(project(":TerraForgedCore").buildDir.getPath() + "/classes/java/main"))
|
from(project(":TerraForgedCore").buildDir.getPath() + "/classes/java/main")
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
dependsOn(deobfApiJar)
|
dependsOn(deobfApiJar)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
artifacts{
|
||||||
|
archives deobfApiJar
|
||||||
|
}
|
||||||
|
|
||||||
uploadArchives {
|
uploadArchives {
|
||||||
repositories {
|
repositories {
|
||||||
mavenDeployer {
|
mavenDeployer {
|
||||||
|
Loading…
Reference in New Issue
Block a user