From 17c1f793418c63a6878a698529e9757e780d7b2f Mon Sep 17 00:00:00 2001 From: Jakob K Date: Sun, 12 Dec 2021 03:27:02 +0100 Subject: [PATCH] Publish reobfJar --- build.gradle.kts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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()