Skip to content

Commit

Permalink
Adjust POM file when publishing (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa authored Nov 23, 2023
1 parent 59af988 commit ac1cc5a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,16 @@ publishing {
publications.withType<MavenPublication> {
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 {
Expand All @@ -83,12 +87,13 @@ publishing {
email.set("[email protected]")
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("[email protected]: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")
}
}
}
Expand Down

0 comments on commit ac1cc5a

Please sign in to comment.