idk whats wrong

This commit is contained in:
2023-07-15 19:15:14 -05:00
parent 40dcb9a336
commit c5aa6510d9

View File

@@ -37,6 +37,11 @@ subprojects {
compileOnly("net.coreprotect:coreprotect:21.3") compileOnly("net.coreprotect:coreprotect:21.3")
} }
tasks {
assemble {
dependsOn("reobfJar")
}
}
} }
tasks { tasks {
@@ -44,13 +49,6 @@ tasks {
archiveBaseName.set("ItemizerX") archiveBaseName.set("ItemizerX")
archiveClassifier.set("") archiveClassifier.set("")
archiveVersion.set("") archiveVersion.set("")
// helper function to relocate a package into our package
fun reloc(pkg: String) = relocate(pkg, "io.papermc.paperweight.testplugin.dependency.$pkg")
// relocate cloud and it's transitive dependencies
reloc("cloud.commandframework")
reloc("io.leangen.geantyref")
} }
compileJava { compileJava {
@@ -60,7 +58,6 @@ tasks {
assemble { assemble {
dependsOn("shadowJar") dependsOn("shadowJar")
dependsOn("reobfJar")
} }
jar { jar {