From 1cdd67aba1724586550b15498a60619bb38b8292 Mon Sep 17 00:00:00 2001 From: Nikolic Djordje Date: Fri, 20 Sep 2024 12:34:56 +0200 Subject: [PATCH] update publishing --- build.gradle.kts | 3 +-- gradle/libs.versions.toml | 2 ++ pcp-client-android-sdk/build.gradle.kts | 5 ++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index c343334..71ab953 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,6 +3,5 @@ plugins { alias(libs.plugins.android.application) apply false alias(libs.plugins.jetbrains.kotlin.android) apply false alias(libs.plugins.android.library) apply false - id("com.vanniktech.maven.publish") version "0.28.0" - id("com.gradleup.nmcp") version "0.0.7" + alias(libs.plugins.maven.publish) apply false } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5620fbf..4b10d4c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,6 +15,7 @@ kotlinxSerialization = "1.5.0" mockito = "4.0.0" mockitoAndroid = "5.13.0" testRunner = "1.5.2" +vanniktech = "0.28.0" sonarqube = "5.0.0.4638" constraintlayout = "2.1.4" @@ -48,4 +49,5 @@ android-application = { id = "com.android.application", version.ref = "agp" } jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } android-library = { id = "com.android.library", version.ref = "agp" } sonar = { id = "org.sonarqube", version.ref = "sonarqube" } +maven-publish = { id = "com.vanniktech.maven.publish", version.ref = "vanniktech" } diff --git a/pcp-client-android-sdk/build.gradle.kts b/pcp-client-android-sdk/build.gradle.kts index 2e4b26d..d015694 100644 --- a/pcp-client-android-sdk/build.gradle.kts +++ b/pcp-client-android-sdk/build.gradle.kts @@ -5,8 +5,7 @@ plugins { alias(libs.plugins.jetbrains.kotlin.android) alias(libs.plugins.sonar) kotlin("plugin.serialization") version "1.9.0" - id("com.vanniktech.maven.publish") version "0.28.0" - id("com.gradleup.nmcp") version "0.0.7" + alias(libs.plugins.maven.publish) } android { @@ -59,7 +58,7 @@ mavenPublishing { signAllPublications() - coordinates("io.github.payone-gmbh", "pcp-client-android-sdk", "0.0.1") + coordinates("io.github.payone-gmbh", "pcp-client-android-sdk", "1.0.0") pom { name.set("PCP-CLIENT-SDK-ANDROID")