diff --git a/build.gradle.kts b/build.gradle.kts index 198513bc..287934e4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,6 +33,10 @@ dependencies { } tasks { + build { + dependsOn(reobfJar) + } + withType { options.encoding = "UTF-8" options.release.set(17) @@ -66,7 +70,7 @@ publishing { publications { create(project.name) { - from(components["java"]) + artifact(tasks.reobfJar) this.groupId = project.group.toString() this.artifactId = project.name.toLowerCase()