From 12fb58c75ff811b853342f4bb3e339673b50f503 Mon Sep 17 00:00:00 2001 From: austek Date: Sun, 19 May 2024 04:39:37 +0100 Subject: [PATCH] Set jvm tool chain --- drivers/jvm/build.gradle | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/jvm/build.gradle b/drivers/jvm/build.gradle index 0af5957a..f20b6ad5 100644 --- a/drivers/jvm/build.gradle +++ b/drivers/jvm/build.gradle @@ -52,12 +52,11 @@ subprojects { from sourceSets.main.allSource } - kotlin { - jvmToolchain { - languageVersion.set(JavaLanguageVersion.of(17)) - implementation.set(JvmImplementation.VENDOR_SPECIFIC) - vendor.set(JvmVendorSpec.ADOPTIUM) - } + compileKotlin { + kotlinOptions.jvmTarget = '17' + } + compileTestKotlin { + kotlinOptions.jvmTarget = '17' } test {