Update publication config

This commit is contained in:
leonid.stashevsky 2024-12-17 19:50:27 +01:00
commit c0f404eb7b

View file

@ -64,24 +64,19 @@ publishing {
} }
jreleaser { jreleaser {
project { gitRootSearch = true
name.set(project.name)
version.set(project.version.toString())
description.set("Kotlin implementation of the Model Context Protocol (MCP)")
website.set("https://github.com/modelcontextprotocol/kotlin-sdk")
authors.set(listOf("Anthropic Team"))
license.set("MIT")
}
strict.set(true) strict.set(true)
signing { signing {
active.set(Active.ALWAYS) active.set(Active.ALWAYS)
armored.set(true) armored.set(true)
artifacts.set(true)
} }
deploy { deploy {
active.set(Active.ALWAYS)
maven { maven {
active.set(Active.ALWAYS)
mavenCentral { mavenCentral {
val ossrh by creating { val ossrh by creating {
active.set(Active.ALWAYS) active.set(Active.ALWAYS)
@ -91,6 +86,15 @@ jreleaser {
} }
} }
} }
release {
github {
skipRelease = true
skipTag = true
overwrite = false
token = "none"
}
}
} }
fun MavenPom.configureMavenCentralMetadata() { fun MavenPom.configureMavenCentralMetadata() {