File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
src/test/kotlin/mcp/code/analysis/server Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ plugins {
1111 kotlin(" plugin.serialization" ) version " 2.2.10"
1212 id(" com.diffplug.spotless" ) version " 7.2.1"
1313 id(" io.kotest.multiplatform" ) version " 5.9.1"
14- id(" org.jreleaser" ) version " 1.17 .0"
14+ id(" org.jreleaser" ) version " 1.19 .0"
1515 id(" pl.allegro.tech.build.axion-release" ) version " 1.20.1"
1616}
1717
@@ -37,6 +37,10 @@ version = rootProject.scmVersion.version
3737
3838description = " MCP Server for GitHub Code Repositories Analysis"
3939
40+ buildscript {
41+ configurations.all { resolutionStrategy { force(" org.eclipse.jgit:org.eclipse.jgit:6.10.1.202505221210-r" ) } }
42+ }
43+
4044dependencies {
4145 val ktorVersion = " 3.2.0"
4246 val coroutinesVersion = " 1.10.2"
@@ -69,7 +73,7 @@ dependencies {
6973 implementation(" ch.qos.logback:logback-classic:1.5.18" )
7074
7175 // JGit for repository interaction
72- implementation(" org.eclipse.jgit:org.eclipse.jgit:5.13.3.202401111512 -r" )
76+ implementation(" org.eclipse.jgit:org.eclipse.jgit:6.10.1.202505221210 -r" )
7377
7478 implementation(" io.github.tree-sitter:ktreesitter-jvm:0.24.1" )
7579
@@ -230,7 +234,7 @@ jreleaser {
230234
231235 release {
232236 github {
233- enabled.set(false )
237+ enabled.set(true )
234238 overwrite.set(false )
235239 }
236240 }
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import io.modelcontextprotocol.kotlin.sdk.CallToolRequest
55import io.modelcontextprotocol.kotlin.sdk.CallToolResult
66import io.modelcontextprotocol.kotlin.sdk.TextContent
77import io.modelcontextprotocol.kotlin.sdk.server.Server as SdkServer
8- import kotlin.text.get
98import kotlinx.coroutines.runBlocking
109import kotlinx.serialization.json.JsonObject
1110import kotlinx.serialization.json.JsonPrimitive
@@ -237,7 +236,6 @@ class McpTest {
237236 fun `check-analysis-status tool handler uses default branch if not provided` () = runBlocking {
238237 // Arrange
239238 val repoUrl = " https://github.com/test/repo"
240- val defaultBranch = " main"
241239
242240 // Act
243241 serverUnderTest.configureServer()
You can’t perform that action at this time.
0 commit comments