Update publishing config for maven central

This commit is contained in:
MM20
2024-02-06 00:25:16 +01:00
parent 4db091c3ca
commit e5e90763d0
3 changed files with 32 additions and 4 deletions
+15 -2
View File
@@ -4,6 +4,7 @@ plugins {
alias(libs.plugins.kotlin.plugin.serialization)
alias(libs.plugins.dokka)
`maven-publish`
signing
}
android {
@@ -71,13 +72,14 @@ publishing {
register<MavenPublication>("release") {
groupId = "de.mm20.launcher2"
artifactId = "plugin-sdk"
version = "1.0.0-SNAPSHOT"
version = libs.versions.pluginSdk.get()
artifact(javadocJar)
pom {
name = "Kvaesitso SDK"
description = "Plugin SDK for the Kvaesitso launcher"
url = "https://kvaesitso.mm20.de"
licenses {
license {
name = "The Apache License, Version 2.0"
@@ -87,9 +89,15 @@ publishing {
developers {
developer {
id = "MM2-0"
name = "U.N.Owen"
name = "MM2-0"
url = "https://github.com/MM2-0"
}
}
scm {
connection = "scm:git:git://github.com/MM2-0/Kvaesitso.git"
developerConnection = "scm:git:ssh://github.com:MM2-0/Kvaesitso.git"
url = "https://github.com/MM2-0/Kvaesitso/tree/main/plugins/sdk"
}
}
afterEvaluate {
@@ -108,4 +116,9 @@ publishing {
}
}
}
}
signing {
useGpgCmd()
sign(publishing.publications["release"])
}