Update publishing config for maven central
This commit is contained in:
parent
4db091c3ca
commit
e5e90763d0
@ -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"])
|
||||
}
|
||||
@ -3,6 +3,8 @@ minSdk = "26"
|
||||
compileSdk = "34"
|
||||
targetSdk = "34"
|
||||
|
||||
pluginSdk = "1.0.0-alpha02"
|
||||
|
||||
gradle = "8.1.2"
|
||||
android-gradle-plugin = "8.2.2"
|
||||
protobuf-gradle-plugin = "0.9.4"
|
||||
|
||||
@ -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"])
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user