Skip to content

Commit 6afef10

Browse files
authored
Update JVM target to 11 in Gradle build configuration (#394)
Update JVM target to 11 in Gradle build configuration ## Motivation and Context Drop the obsolete JVM 1.8 target to keep up with up-to-date tools, like Kotest ## How Has This Been Tested? CI ## Breaking Changes The minimum JVM version is now 11 ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [x] Breaking change (fix or feature that would cause existing functionality to change) - [x] Documentation update ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context <!-- Add any other context, implementation notes, or design decisions -->
1 parent 01de6e6 commit 6afef10

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Build](https://github.com/modelcontextprotocol/kotlin-sdk/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/modelcontextprotocol/kotlin-sdk/actions/workflows/build.yml)
66
[![Kotlin](https://img.shields.io/badge/kotlin-2.2+-blueviolet.svg?logo=kotlin)](http://kotlinlang.org)
77
[![Kotlin Multiplatform](https://img.shields.io/badge/Platforms-%20JVM%20%7C%20Wasm%2FJS%20%7C%20Native%20-blueviolet?logo=kotlin)](https://kotlinlang.org/docs/multiplatform.html)
8-
[![JVM](https://img.shields.io/badge/JVM-1.8+-red.svg?logo=jvm)](http://java.com)
8+
[![JVM](https://img.shields.io/badge/JVM-11+-red.svg?logo=jvm)](http://java.com)
99
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
1010

1111
Kotlin Multiplatform implementation of the [Model Context Protocol](https://modelcontextprotocol.io) (MCP),

buildSrc/src/main/kotlin/mcp.multiplatform.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ kotlin {
2121
"-Xmulti-dollar-interpolation",
2222
)
2323
}
24-
25-
// coreLibrariesVersion = "2.0.10"
26-
2724
jvm {
2825
compilerOptions {
29-
jvmTarget = JvmTarget.JVM_1_8
26+
jvmTarget = JvmTarget.JVM_11
3027
javaParameters = true
3128
jvmDefault = JvmDefaultMode.ENABLE
3229
freeCompilerArgs.addAll(

0 commit comments

Comments
 (0)