diff --git a/buildSrc/src/main/kotlin/ai.sdk-version-file.gradle.kts b/buildSrc/src/main/kotlin/ai.sdk-version-file.gradle.kts index 44891ad2385..0d705b4b0c8 100644 --- a/buildSrc/src/main/kotlin/ai.sdk-version-file.gradle.kts +++ b/buildSrc/src/main/kotlin/ai.sdk-version-file.gradle.kts @@ -2,7 +2,7 @@ plugins { `java-library` } -val sdkVersionDir = "${buildDir}/generated/resources/sdk-version" +val sdkVersionDir = layout.buildDirectory.dir("generated/resources/sdk-version") tasks { register("generateVersionResource") {