From 0a05f6d4a1c46f63960316d85c67d7ee09b2a8ae Mon Sep 17 00:00:00 2001 From: "Yevhen Babiichuk (DustDFG)" Date: Mon, 26 Jan 2026 03:13:54 +0200 Subject: [PATCH] Use java 21 toolchain on whole extractor and set java via release Toolchain specifies which exact jdk version used for compiling gradle projects. Using several different toolchains in one repo without any reason is wastedul. Unifying used jdk will allow to store only one jdk on dev side. As a side effect unification should make problem encountered by some users on Matrix (it was tried to solve it in #12923) --- build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index c6ec5dc78f..9239b985d0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,11 +14,12 @@ allprojects { tasks.withType { options.encoding = Charsets.UTF_8.toString() + options.release = 11 } extensions.configure { toolchain { - languageVersion.set(JavaLanguageVersion.of(11)) + languageVersion.set(JavaLanguageVersion.of(21)) } } }