Update publishing config for maven central
This commit is contained in:
@@ -3,6 +3,7 @@ plugins {
|
||||
alias(libs.plugins.kotlin.android)
|
||||
alias(libs.plugins.dokka)
|
||||
`maven-publish`
|
||||
signing
|
||||
}
|
||||
|
||||
android {
|
||||
@@ -59,13 +60,14 @@ publishing {
|
||||
register<MavenPublication>("release") {
|
||||
groupId = "de.mm20.launcher2"
|
||||
artifactId = "shared"
|
||||
version = "1.0.0-SNAPSHOT"
|
||||
version = libs.versions.pluginSdk.get()
|
||||
|
||||
artifact(javadocJar)
|
||||
|
||||
pom {
|
||||
name = "Kvaesitso shared library"
|
||||
description = "Contains shared code between the launcher and its plugin SDK"
|
||||
url = "https://kvaesitso.mm20.de"
|
||||
licenses {
|
||||
license {
|
||||
name = "The Apache License, Version 2.0"
|
||||
@@ -75,9 +77,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/core/shared"
|
||||
}
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
@@ -96,4 +104,9 @@ publishing {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
signing {
|
||||
useGpgCmd()
|
||||
sign(publishing.publications["release"])
|
||||
}
|
||||
Reference in New Issue
Block a user