Skip to content

Commit

Permalink
Use Gradle Nexus Publish Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Feb 26, 2024
1 parent 566738a commit 9a9a90a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -233,7 +234,7 @@ class SonatypePlugin : Plugin<Project> {
}

configure<SigningExtension> {
sign(the<PublishingExtension>().publications)
sign(the<PublishingExtension>().publications["sonatype"])
}

tasks.withType<InitializeNexusStagingRepository> {
Expand Down

0 comments on commit 9a9a90a

Please sign in to comment.