From 1b82045abe7df519c0e8b274900434307ffa98b5 Mon Sep 17 00:00:00 2001 From: Frederik Bertling Date: Tue, 14 May 2024 16:28:29 +0200 Subject: [PATCH] feat(publish): Fixed maven publishing to maven central Signed-off-by: Frederik Bertling --- core/build.gradle.kts | 28 ++++++++++++++++++++++++++++ udp/build.gradle.kts | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/core/build.gradle.kts b/core/build.gradle.kts index a77286b..f16b5e6 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -83,4 +83,32 @@ tasks.named("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://git@github.com/burtan/kosc.git") + } + } } diff --git a/udp/build.gradle.kts b/udp/build.gradle.kts index 79db2d0..8fe8a03 100644 --- a/udp/build.gradle.kts +++ b/udp/build.gradle.kts @@ -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://git@github.com/burtan/kosc.git") + } + } }