aboutsummaryrefslogtreecommitdiff
path: root/build-logic/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-08-26 20:56:48 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-08-26 20:57:12 +0530
commit0b500f6940ac5caadaf6746934b787a1b1a3362e (patch)
treea0eab3eb6060d8f9649e9d3b676724826086444c /build-logic/build.gradle.kts
parent4c5659b04d7907efdaee0f47813f43f6b88ec5e3 (diff)
chore(build): require a Java 20 host
Diffstat (limited to 'build-logic/build.gradle.kts')
-rw-r--r--build-logic/build.gradle.kts5
1 files changed, 1 insertions, 4 deletions
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<JavaToolchainSpec> { languageVersion.set(JavaLanguageVersion.of(17)) }
-
-kotlin.jvmToolchain(jvmToolchainAction)
+kotlin.jvmToolchain(20)
gradlePlugin {
plugins {