Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

allprojects {
group = "io.modelcontextprotocol"
version = "0.7.1"
version = "0.7.2-alpha1"
}

dependencies {
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/mcp.jreleaser.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jreleaser {
deploy {
active = Active.ALWAYS
maven {
active = Active.ALWAYS
active = if (project.name.get() == "kotlin-sdk") Active.ALWAYS else Active.NEVER
Copy link

Copilot AI Sep 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard-coding the project name 'kotlin-sdk' makes this configuration brittle. Consider using a project property or constant to make this more maintainable and less prone to errors if the project name changes.

Copilot uses AI. Check for mistakes.
mavenCentral.create("ossrh") {
active = Active.ALWAYS
sign = true
url = "https://central.sonatype.com/api/v1/publisher"
applyMavenCentralRules = false
maxRetries = 240
stagingRepository(layout.buildDirectory.dir("staging-deploy").get().asFile.path)
stagingRepository(rootProject.layout.buildDirectory.dir("staging-deploy").get().asFile.path)

// workaround: https://github.com/jreleaser/jreleaser/issues/1784
afterEvaluate {
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/mcp.publishing.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ publishing {
repositories {
maven {
name = "staging"
url = uri(layout.buildDirectory.dir("staging-deploy"))
url = uri(rootProject.layout.buildDirectory.dir("staging-deploy"))
}
}
}
Expand All @@ -68,4 +68,4 @@ signing {
useInMemoryPgpKeys(signingKey.get(), signingPassphrase.get())
sign(publishing.publications)
}
}
}
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ coroutines = "1.10.2"
kotlinx-io = "0.8.0"
ktor = "3.3.0"
logging = "7.0.13"
jreleaser = "1.19.0"
jreleaser = "1.20.0"
binaryCompatibilityValidatorPlugin = "0.18.1"
slf4j = "2.0.17"
kotest = "5.9.1"
awaitility = "4.3.0"

# Samples
mcp-kotlin = "0.7.1"
mcp-kotlin = "0.7.2-alpha1"
anthropic = "2.7.0"
shadow = "8.1.1"

Expand Down
Loading