Skip to content

Commit

Permalink
feat(publish): Fixed maven publishing to maven central
Browse files Browse the repository at this point in the history
Signed-off-by: Frederik Bertling <[email protected]>
  • Loading branch information
Burtan committed May 14, 2024
1 parent dbc894d commit 1b82045
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,32 @@ tasks.named<Test>("jvmTest") {
mavenPublishing {
publishToMavenCentral(SonatypeHost.DEFAULT, true)
signAllPublications()

coordinates("de.frederikbertling.kosc", "core", "0.1.0")

pom {
name.set("kOSC core library")
description.set("OSC implementation for kotlin multiplatform")
inceptionYear.set("2024")
url.set("https://github.com/burtan/kosc/")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
distribution.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("burtan")
name.set("Frederik Bertling")
url.set("https://github.com/burtan/")
}
}
scm {
url.set("https://github.com/burtan/kosc/")
connection.set("scm:git:git://github.com/burtan/kosc.git")
developerConnection.set("scm:git:ssh://[email protected]/burtan/kosc.git")
}
}
}
28 changes: 28 additions & 0 deletions udp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,32 @@ mavenPublishing {
publishToMavenCentral(SonatypeHost.DEFAULT, true)

signAllPublications()

coordinates("de.frederikbertling.kosc", "udp", "0.1.0")

pom {
name.set("kOSC UDP server and client implementation")
description.set("OSC over UDP implementation for kotlin multiplatform")
inceptionYear.set("2024")
url.set("https://github.com/burtan/kosc/")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
distribution.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("burtan")
name.set("Frederik Bertling")
url.set("https://github.com/burtan/")
}
}
scm {
url.set("https://github.com/burtan/kosc/")
connection.set("scm:git:git://github.com/burtan/kosc.git")
developerConnection.set("scm:git:ssh://[email protected]/burtan/kosc.git")
}
}
}

0 comments on commit 1b82045

Please sign in to comment.