diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index fdcca6b..154d4a3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -222,13 +222,14 @@ tasks { } } named<ShadowJar>("shadowJar") { - archiveClassifier.set("dev") + archiveClassifier.set("donotusethis") configurations = listOf(shade, lwjglNative) duplicatesStrategy = DuplicatesStrategy.EXCLUDE + dependsOn(jar) } remapJar { input.set(shadowJar.get().archiveFile) - archiveClassifier.set("") + archiveClassifier.set("full") } jar { manifest { @@ -242,9 +243,9 @@ tasks { ) ) } - dependsOn(shadowJar) + exclude("**/internal") + exclude("**/internal/**") archiveClassifier.set("") - enabled = false } dokkaHtml.configure { outputDirectory.set(buildDir.resolve("dokka")) @@ -308,8 +309,10 @@ publishing { groupId = "cc.polyfrost" artifactId = base.archivesName.get() - from(components["java"]) + artifact(tasks["jar"]) artifact(tasks["remapJar"]) + artifact(tasks["lwjglJar"]) + artifact(tasks["sourcesJar"]) artifact(tasks["dokkaJar"]) } } |