From 9a9a90a8d8af31be753ade276606723da1b10a87 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Mon, 26 Feb 2024 17:25:27 +0100 Subject: [PATCH] Use Gradle Nexus Publish Plugin --- sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt index 262696a..03aaf9a 100644 --- a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt +++ b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt @@ -31,6 +31,7 @@ import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.UnknownTaskException import org.gradle.api.logging.Logging +import org.gradle.api.plugins.JavaPluginExtension import org.gradle.api.publish.PublishingExtension import org.gradle.api.publish.maven.MavenPublication import org.gradle.api.publish.maven.tasks.AbstractPublishToMaven @@ -233,7 +234,7 @@ class SonatypePlugin : Plugin { } configure { - sign(the().publications) + sign(the().publications["sonatype"]) } tasks.withType {