From 7adefd9941b0224b0eb4fa336b67981cf61d4dcd Mon Sep 17 00:00:00 2001 From: Adolar0042 <39769465+Adolar0042@users.noreply.github.com> Date: Mon, 2 Sep 2024 15:36:14 +0200 Subject: [PATCH] [skip-ci] chore(gradle): compile kotlin with jvm 17 (#25) --- common/build.gradle.kts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 4039adc0..2bb44351 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -5,9 +5,8 @@ plugins { id("maven-publish") } -java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 +kotlin { + jvmToolchain(17) } dependencies {