From 3d9cd524baa0b428bd2eeb627c5bff226fdd19dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hasan=20Demirta=C5=9F?= Date: Sun, 9 Jun 2024 14:45:30 +0300 Subject: [PATCH] simplify. --- build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 7472454..f47b441 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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 } @@ -51,7 +51,7 @@ subprojects { val projectName = project.property("artifact-id") as String val signRequired = project.hasProperty("sign-required") - mavenPublishing { + extensions.configure { coordinates(project.group.toString(), projectName, project.version.toString()) publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, true) if (signRequired) {