Skip to content

Commit

Permalink
Merge pull request #9 from PAYONE-GmbH/feature/publishing_to_maven
Browse files Browse the repository at this point in the history
update publishing
  • Loading branch information
dnikolicnanogiants authored Sep 20, 2024
2 parents b98ac88 + 1cdd67a commit c584b3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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" }

5 changes: 2 additions & 3 deletions pcp-client-android-sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit c584b3a

Please sign in to comment.