Update Gradle and core build dependencies

- Upgrade Gradle wrapper to 9.3.1.
- Update Android Gradle Plugin (AGP) to 9.1.0 and Kotlin to 2.2.10.
- Update Hilt to 2.57.2, Room to 2.7.0, and KSP to 2.3.2.
- Configure Gradle Java toolchain using JetBrains JDK 21 and the Foojay resolver plugin.
- Define several Android build feature flags and compatibility properties in `gradle.properties`.
This commit is contained in:
2026-03-27 18:34:24 +01:00
parent d433863e21
commit 4c5dc8a452
5 changed files with 34 additions and 8 deletions

View File

@@ -1,17 +1,17 @@
[versions]
agp = "8.13.2"
agp = "9.1.0"
coreKtx = "1.15.0"
junit = "4.13.2"
junitVersion = "1.2.1"
espressoCore = "3.6.1"
lifecycleRuntimeKtx = "2.8.7"
activityCompose = "1.9.3"
kotlin = "2.1.0"
kotlin = "2.2.10"
composeBom = "2025.02.00"
jellyfin-core = "1.8.5"
hilt = "2.54"
hilt = "2.57.2"
hiltNavigationCompose = "1.2.0"
ksp = "2.1.0-1.0.29"
ksp = "2.3.2"
datastore = "1.1.1"
kotlinxSerializationJson = "1.7.3"
okhttp = "4.12.0"
@@ -20,7 +20,7 @@ coil = "3.3.0"
media3 = "1.9.0"
media3FfmpegDecoder = "1.9.0+1"
nav3Core = "1.0.0"
room = "2.6.1"
room = "2.7.0"
[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }