File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,8 @@ val gitWorkingBranch = providers.exec {
2424 commandLine(" git" , " rev-parse" , " --abbrev-ref" , " HEAD" )
2525}.standardOutput.asText.map { it.trim() }
2626
27- java {
28- toolchain {
29- languageVersion = JavaLanguageVersion .of(17 )
30- }
31- }
32-
3327kotlin {
28+ jvmToolchain(21 )
3429 compilerOptions {
3530 // TODO: Drop annotation default target when it is stable
3631 freeCompilerArgs.addAll(
@@ -142,13 +137,6 @@ ksp {
142137// Custom dependency configuration for ktlint
143138val ktlint by configurations.creating
144139
145- // https://checkstyle.org/#JRE_and_JDK
146- tasks.withType<Checkstyle >().configureEach {
147- javaLauncher = javaToolchains.launcherFor {
148- languageVersion = JavaLanguageVersion .of(21 )
149- }
150- }
151-
152140checkstyle {
153141 configDirectory = rootProject.file(" checkstyle" )
154142 isIgnoreFailures = false
You can’t perform that action at this time.
0 commit comments