From b0282eb44df31cd4c4d020bfc904085c95c299d8 Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Thu, 12 Oct 2023 17:59:06 +0300 Subject: [PATCH] Compile ktor library instrumentation for earlier kotlin version (#9661) --- instrumentation/ktor/ktor-1.0/library/build.gradle.kts | 6 ++++++ instrumentation/ktor/ktor-2.0/library/build.gradle.kts | 6 ++++++ instrumentation/ktor/ktor-common/library/build.gradle.kts | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/instrumentation/ktor/ktor-1.0/library/build.gradle.kts b/instrumentation/ktor/ktor-1.0/library/build.gradle.kts index 85102d338c4a..b226a53642ff 100644 --- a/instrumentation/ktor/ktor-1.0/library/build.gradle.kts +++ b/instrumentation/ktor/ktor-1.0/library/build.gradle.kts @@ -28,4 +28,10 @@ tasks { jvmTarget = "1.8" } } + + compileKotlin { + kotlinOptions { + languageVersion = "1.4" + } + } } diff --git a/instrumentation/ktor/ktor-2.0/library/build.gradle.kts b/instrumentation/ktor/ktor-2.0/library/build.gradle.kts index 3b007244cc36..5e98f6d3ae1f 100644 --- a/instrumentation/ktor/ktor-2.0/library/build.gradle.kts +++ b/instrumentation/ktor/ktor-2.0/library/build.gradle.kts @@ -30,4 +30,10 @@ tasks { jvmTarget = "1.8" } } + + compileKotlin { + kotlinOptions { + languageVersion = "1.6" + } + } } diff --git a/instrumentation/ktor/ktor-common/library/build.gradle.kts b/instrumentation/ktor/ktor-common/library/build.gradle.kts index 0362618225fc..846219dbd6a3 100644 --- a/instrumentation/ktor/ktor-common/library/build.gradle.kts +++ b/instrumentation/ktor/ktor-common/library/build.gradle.kts @@ -16,4 +16,10 @@ tasks { jvmTarget = "1.8" } } + + compileKotlin { + kotlinOptions { + languageVersion = "1.4" + } + } }