Skip to content

Commit 5d5215c

Browse files
committed
build(deps): support JDK25 LTS, JDK24 is obsoleted by same
1 parent 53fc8a2 commit 5d5215c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ tasks.register<Delete>("clean") {
4444
ext {
4545
val jvmVersion = Jvm.current().javaVersion?.majorVersion
4646
val minSdk = libs.versions.compileSdk.get()
47-
if (jvmVersion != "17" && jvmVersion != "21" && jvmVersion != "24") {
47+
if (jvmVersion != "17" && jvmVersion != "21" && jvmVersion != "25") {
4848
println("\n\n\n")
4949
println("**************************************************************************************************************")
5050
println("\n\n\n")
51-
println("ERROR: Anki-Android-Backend builds with JVM version 17, 21 and 24.")
51+
println("ERROR: Anki-Android-Backend builds with JVM version 17, 21 and 25.")
5252
println(" Incompatible major version detected: '$jvmVersion'")
53-
if (jvmVersion.parseIntOrDefault(defaultValue = 0) > 24) {
53+
if (jvmVersion.parseIntOrDefault(defaultValue = 0) > 25) {
5454
println("\n\n\n")
5555
println(" If you receive this error because you want to use a newer JDK, we may accept PRs to support new versions.")
5656
println(" Edit the main build file, find this message in the file, and add support for the new version.")

0 commit comments

Comments
 (0)