From 0b500f6940ac5caadaf6746934b787a1b1a3362e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 26 Aug 2023 20:56:48 +0530 Subject: chore(build): require a Java 20 host --- build-logic/build.gradle.kts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'build-logic/build.gradle.kts') diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts index 19fb1043..b5e2ed8f 100644 --- a/build-logic/build.gradle.kts +++ b/build-logic/build.gradle.kts @@ -5,10 +5,7 @@ plugins { `kotlin-dsl` } -private val jvmToolchainAction = - Action { languageVersion.set(JavaLanguageVersion.of(17)) } - -kotlin.jvmToolchain(jvmToolchainAction) +kotlin.jvmToolchain(20) gradlePlugin { plugins { -- cgit v1.2.3