Skip to content

Commit

Permalink
Use Java 21 in jvm toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Oct 15, 2024
1 parent b4e4029 commit 311019c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of("17"))
languageVersion.set(JavaLanguageVersion.of(libs.versions.java.jdk.get()))
}
}

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of("17"))
languageVersion.set(JavaLanguageVersion.of(libs.versions.java.jdk.get()))
}
}

Expand Down
7 changes: 7 additions & 0 deletions buildSrc/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
}
}
}
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ androidx-window = "1.3.0"
androidx-work = "2.9.1"
coil = "2.7.0"
detekt = "1.23.7"
java-jdk = "21"
jellyfin-androidx-media = "1.3.1+2"
jellyfin-apiclient = "v0.7.10"
jellyfin-sdk = "1.6.0-beta.1"
Expand Down

0 comments on commit 311019c

Please sign in to comment.