Merge pull request #13454 from TeamNewPipe/depUpdate

Update dependencies and build with JDK 21
This commit is contained in:
Tobi 2026-05-03 09:09:39 +02:00 committed by GitHub
commit cd171dab54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 23 deletions

View file

@ -20,13 +20,8 @@ val gitWorkingBranch = providers.exec {
commandLine("git", "rev-parse", "--abbrev-ref", "HEAD")
}.standardOutput.asText.map { it.trim() }
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
kotlin {
jvmToolchain(21)
compilerOptions {
// TODO: Drop annotation default target when it is stable
freeCompilerArgs.addAll(
@ -137,13 +132,6 @@ ksp {
// Custom dependency configuration for ktlint
val ktlint by configurations.creating
// https://checkstyle.org/#JRE_and_JDK
tasks.withType<Checkstyle>().configureEach {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(21)
}
}
checkstyle {
configDirectory = rootProject.file("checkstyle")
isIgnoreFailures = false