From 3d82883375bf9ffec2e2b76c626b21bdf91f089a Mon Sep 17 00:00:00 2001 From: Jeff Clyne Date: Sat, 11 Oct 2025 01:25:01 -0500 Subject: [PATCH] Compatibility updates for gradle 9.x.x (#313) Changes to kotlin-sdk-core/build.gradle.kts to be compatible with gradle 9.x.x ## Motivation and Context If including this project into a composite build that uses gradle 9.x.x, recent changes to the build.gradle.kts are not compatible. ## How Has This Been Tested? The build still works with gradle 8.x ## Breaking Changes N/A ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist - [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 - [x] I have added appropriate error handling - [x] I have added or updated documentation as needed ## Additional context --- kotlin-sdk-core/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlin-sdk-core/build.gradle.kts b/kotlin-sdk-core/build.gradle.kts index d337724..4ee21c1 100644 --- a/kotlin-sdk-core/build.gradle.kts +++ b/kotlin-sdk-core/build.gradle.kts @@ -46,8 +46,8 @@ openApiGenerate { generateModelDocumentation = false cleanupOutput = false skipValidateSpec = true // do not validate spec - library = "multiplatform" - ignoreFileOverride = "${layout.projectDirectory}/.openapi-generator-ignore" + library.set("multiplatform") + ignoreFileOverride.set("${layout.projectDirectory}/.openapi-generator-ignore") globalProperties.set( mapOf( "supportingFiles" to "",