From 8fb7baebb2e052308a291822463e6cf18de154af Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Sat, 22 Jun 2024 15:49:37 +0200 Subject: [PATCH] Fix publication of jda module --- buildSrc/src/main/kotlin/lavalink-jvm-module.gradle.kts | 4 ++++ buildSrc/src/main/kotlin/lavalink-publishing.gradle.kts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/lavalink-jvm-module.gradle.kts b/buildSrc/src/main/kotlin/lavalink-jvm-module.gradle.kts index 184b8923..782330c2 100644 --- a/buildSrc/src/main/kotlin/lavalink-jvm-module.gradle.kts +++ b/buildSrc/src/main/kotlin/lavalink-jvm-module.gradle.kts @@ -43,4 +43,8 @@ tasks { withType { useJUnitPlatform() } + + task("publishForCurrentOs") { + dependsOn("publishAllPublicationsToMavenCentralRepository") + } } diff --git a/buildSrc/src/main/kotlin/lavalink-publishing.gradle.kts b/buildSrc/src/main/kotlin/lavalink-publishing.gradle.kts index 5b18ab8d..989ae58a 100644 --- a/buildSrc/src/main/kotlin/lavalink-publishing.gradle.kts +++ b/buildSrc/src/main/kotlin/lavalink-publishing.gradle.kts @@ -7,7 +7,7 @@ plugins { mavenPublishing { publishToMavenCentral(SonatypeHost.S01, true) - signAllPublications() +// signAllPublications() pom { name = project.name