From 00d8430b85c47432549eb566bb5f7f8441280255 Mon Sep 17 00:00:00 2001 From: Mikkel Date: Mon, 8 Apr 2024 23:57:44 +0200 Subject: [PATCH] More updates. --- build.gradle.kts | 2 +- client/build.gradle.kts | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index a3cab83..56a7abe 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ plugins { jacoco id("org.sonarqube") version "3.5.0.2730" - id("io.github.gradle-nexus.publish-plugin") version "1.1.0" + id("io.github.gradle-nexus.publish-plugin") version "2.0.0" } jacoco { diff --git a/client/build.gradle.kts b/client/build.gradle.kts index b95dcfe..e0c61a9 100644 --- a/client/build.gradle.kts +++ b/client/build.gradle.kts @@ -12,12 +12,10 @@ java { withSourcesJar() } - repositories { mavenCentral() } - dependencies { implementation("org.projectlombok:lombok:1.18.32") annotationProcessor("org.projectlombok:lombok:1.18.32") @@ -54,6 +52,7 @@ publishing { from(components["java"]) groupId = "dk.acto" artifactId = "fafnir-client" + version = project.parent?.version as String pom { name.set("Fafnir SSO Client") @@ -98,9 +97,6 @@ publishing { } signing { - requireNotNull(project.version) - val x = project.version as String - require(!x.endsWith("-SNAPSHOT")) useInMemoryPgpKeys(findProperty("signingKey") as String?, "") sign(publishing.publications["mavenJava"]) }