From ac1cc5a310e9596eda8d58ee56f8515012a84210 Mon Sep 17 00:00:00 2001 From: Stefan M Date: Thu, 23 Nov 2023 17:23:17 +0100 Subject: [PATCH] Adjust POM file when publishing (#36) --- build.gradle.kts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index e120fad..d734060 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -65,12 +65,16 @@ publishing { publications.withType { artifact(dokkaJar) artifactId = artifactId.replace("kmp-", "") + pom { + name.set("KMP Lokalise Api") + description.set("Lokalise API v2 Kotlin Multiplatform client library") url.set("https://github.com/ioki-mobility/kmp-lokalise-api") + licenses { license { name.set("MIT") - url.set("https://github.com/ioki-mobility/kmp-lokalise-api/blob/main/LICENSE") + url.set("https://opensource.org/licenses/MIT") } } organization { @@ -83,12 +87,13 @@ publishing { email.set("StefMaDev@outlook.com") url.set("https://StefMa.guru") organization.set("ioki") + organizationUrl.set("https://ioki.com") } } scm { url.set("https://github.com/ioki-mobility/kmp-lokalise-api") - connection.set("https://github.com/ioki-mobility/kmp-lokalise-api.git") - developerConnection.set("git@github.com:ioki-mobility/kmp-lokalise-api.git") + connection.set("scm:git:git://github.com/ioki-mobility/kmp-lokalise-api.git") + developerConnection.set("scm:git:ssh://git@github.com/ioki-mobility/kmp-lokalise-api.git") } } }