Skip to content

Commit

Permalink
simplify.
Browse files Browse the repository at this point in the history
  • Loading branch information
portlek committed Jun 9, 2024
1 parent 296b7b5 commit 3d9cd52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import com.vanniktech.maven.publish.MavenPublishBaseExtension
import com.vanniktech.maven.publish.MavenPublishPlugin
import com.vanniktech.maven.publish.SonatypeHost
import org.jetbrains.dokka.gradle.DokkaPlugin

plugins {
java
`maven-publish`
alias(libs.plugins.nexus)
alias(libs.plugins.nexus) apply false
alias(libs.plugins.kotlin) apply false
alias(libs.plugins.dokka) apply false
}
Expand Down Expand Up @@ -51,7 +51,7 @@ subprojects {
val projectName = project.property("artifact-id") as String
val signRequired = project.hasProperty("sign-required")

mavenPublishing {
extensions.configure<MavenPublishBaseExtension> {
coordinates(project.group.toString(), projectName, project.version.toString())
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, true)
if (signRequired) {
Expand Down

0 comments on commit 3d9cd52

Please sign in to comment.