From 99630b7470718de13f5a69a274c24e4c4086375f Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 19 Nov 2023 03:54:19 -0700 Subject: [PATCH] Adds a classifier to jar task --- build.gradle | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 83a1691..b8ff598 100644 --- a/build.gradle +++ b/build.gradle @@ -58,13 +58,17 @@ dependencies { def MAVEN_PASSWORD_PROPERTY = "AriasCreationsMavenPassword" +tasks.named('jar', Jar).configure { + archiveClassifier = "RELEASE" +} + publishing { publications { mavenJava(MavenPublication) { from components.java artifact jar - //artifact sourcesJar - //artifact javadocJar + artifact sourcesJar + artifact javadocJar } } repositories {