From 14a65c68682fca5d5660dc13c54ab3b596269bbd Mon Sep 17 00:00:00 2001 From: asm0dey Date: Tue, 11 Jul 2023 17:41:53 +0200 Subject: [PATCH] Trying to fix deploy --- .../src/main/kotlin/module.publication.gradle.kts | 5 +---- .../src/main/kotlin/root.publication.gradle.kts | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/convention-plugins/src/main/kotlin/module.publication.gradle.kts b/convention-plugins/src/main/kotlin/module.publication.gradle.kts index 5544156..f06d74a 100644 --- a/convention-plugins/src/main/kotlin/module.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/module.publication.gradle.kts @@ -7,9 +7,6 @@ plugins { signing } -group = "com.github.asm0dey.dummylib" -version = "0.0.1" - val javadocJar by tasks.registering(Jar::class) { archiveClassifier.set("javadoc") } @@ -47,7 +44,7 @@ publishing { } signing { - if (System.clearProperty("signing.gnupg.keyName")!=null) { + if (System.getProperty("signing.gnupg.keyName")!=null) { useGpgCmd() sign(publishing.publications) } diff --git a/convention-plugins/src/main/kotlin/root.publication.gradle.kts b/convention-plugins/src/main/kotlin/root.publication.gradle.kts index b26b067..00d444b 100644 --- a/convention-plugins/src/main/kotlin/root.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/root.publication.gradle.kts @@ -2,6 +2,9 @@ plugins { id("io.github.gradle-nexus.publish-plugin") } +group = "com.github.asm0dey.dummylib" +version = "0.0.1" + nexusPublishing { // Configure maven central repository // https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-ossrh