Skip to content

Commit

Permalink
fix: local-kms-db maven publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Jan 15, 2025
1 parent 153beb4 commit e12295e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fun getNpmVersion(): String {

allprojects {
group = "com.sphereon.oid.fed"
version = "0.2.12-SNAPSHOT"
version = "0.2.13-SNAPSHOT"
val npmVersion by extra { getNpmVersion() }

// Common repository configuration for all projects
Expand Down
26 changes: 14 additions & 12 deletions modules/local-kms/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,20 @@ kotlin {
}

publishing {
publications {
create<MavenPublication>("mavenKotlin") {

pom {
name.set("OpenID Federation Local KMS")
description.set("Local Key Management System for OpenID Federation")
url.set("https://github.com/Sphereon-Opensource/openid-federation")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
publications.withType<MavenPublication> {
val targetPublication = this@withType
artifacts.matching { it.classifier == "jvm" }.all {
targetPublication.artifact(this)
}

pom {
name.set("OpenID Federation Local KMS")
description.set("Local Key Management System for OpenID Federation")
url.set("https://github.com/Sphereon-Opensource/openid-federation")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
}
Expand Down

0 comments on commit e12295e

Please sign in to comment.