Skip to content

Commit 0a05f6d

Browse files
author
Yevhen Babiichuk (DustDFG)
committed
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)
1 parent a88b50e commit 0a05f6d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ allprojects {
1414

1515
tasks.withType<JavaCompile> {
1616
options.encoding = Charsets.UTF_8.toString()
17+
options.release = 11
1718
}
1819

1920
extensions.configure<JavaPluginExtension> {
2021
toolchain {
21-
languageVersion.set(JavaLanguageVersion.of(11))
22+
languageVersion.set(JavaLanguageVersion.of(21))
2223
}
2324
}
2425
}

0 commit comments

Comments
 (0)