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 -->
This commit is contained in:
parent
01de6e6800
commit
6afef103c9
2 changed files with 2 additions and 5 deletions
|
|
@ -5,7 +5,7 @@
|
|||
[](https://github.com/modelcontextprotocol/kotlin-sdk/actions/workflows/build.yml)
|
||||
[](http://kotlinlang.org)
|
||||
[](https://kotlinlang.org/docs/multiplatform.html)
|
||||
[](http://java.com)
|
||||
[](http://java.com)
|
||||
[](LICENSE)
|
||||
|
||||
Kotlin Multiplatform implementation of the [Model Context Protocol](https://modelcontextprotocol.io) (MCP),
|
||||
|
|
|
|||
|
|
@ -21,12 +21,9 @@ kotlin {
|
|||
"-Xmulti-dollar-interpolation",
|
||||
)
|
||||
}
|
||||
|
||||
// coreLibrariesVersion = "2.0.10"
|
||||
|
||||
jvm {
|
||||
compilerOptions {
|
||||
jvmTarget = JvmTarget.JVM_1_8
|
||||
jvmTarget = JvmTarget.JVM_11
|
||||
javaParameters = true
|
||||
jvmDefault = JvmDefaultMode.ENABLE
|
||||
freeCompilerArgs.addAll(
|
||||
|
|
|
|||
Loading…
Reference in a new issue