This commit is contained in:
dags- 2020-02-26 10:55:45 +00:00
parent d5f2115506
commit 1db329c8f5

View File

@ -33,6 +33,7 @@ minecraft {
} }
task deobfApiJar(type: Jar) { task deobfApiJar(type: Jar) {
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(fileTree(project(":Noise2D").buildDir.getPath() + "/classes/java/main"))
@ -41,15 +42,10 @@ task deobfApiJar(type: Jar) {
} }
jar { jar {
enabled(false)
}
install {
dependsOn(deobfApiJar) dependsOn(deobfApiJar)
} }
uploadArchives { uploadArchives {
dependsOn(deobfApiJar)
repositories { repositories {
mavenDeployer { mavenDeployer {
repository(url: "https://io.terraforged.com/repository/maven/") { repository(url: "https://io.terraforged.com/repository/maven/") {