From 0982dfa77232214ea26e3aecac4b32473c1d1617 Mon Sep 17 00:00:00 2001 From: Up Date: Tue, 31 Dec 2024 17:54:44 +0100 Subject: [PATCH] set up gradle java toolchain --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index fc760d76..98c3b11b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -77,6 +77,10 @@ allprojects { // if it is present. // If you remove this line, sources will not be generated. withSourcesJar() + + toolchain { + languageVersion.set(JavaLanguageVersion.of(chenille.javaVersion)) + } } tasks.withType().configureEach {