mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 03:45:24 +00:00
gradle: Fix building with JDK11+
1. Bump Kotlin version to 1.7.10. 2. Bump Hilt version to 2.45. 3. Add implementation of lifecycle-viewmodel-ktx dependency explicitly to fix duplicate class error. Signed-off-by: utzcoz <utzcoz@outlook.com>
This commit is contained in:
parent
08831237f5
commit
5565564e70
|
@ -3,7 +3,7 @@
|
|||
|
||||
buildscript {
|
||||
ext {
|
||||
kotlinVersion = '1.7.0'
|
||||
kotlinVersion = '1.7.10'
|
||||
|
||||
latestAboutLibsRelease = '8.9.4'
|
||||
|
||||
|
@ -15,7 +15,7 @@ buildscript {
|
|||
androidxCardViewVersion = '1.0.0'
|
||||
androidxRecyclerViewVersion = '1.2.1'
|
||||
|
||||
hiltVersion = '2.44.2'
|
||||
hiltVersion = '2.45'
|
||||
|
||||
materialVersion = '1.8.0'
|
||||
|
||||
|
|
|
@ -52,6 +52,7 @@ dependencies {
|
|||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
||||
implementation "androidx.constraintlayout:constraintlayout:$androidxConstraintLayoutVersion"
|
||||
implementation "com.google.android.material:material:$materialVersion"
|
||||
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$androidxLifecycleVersion"
|
||||
|
||||
// Not directly used but included to avoid version conflicts
|
||||
|
||||
|
|
Loading…
Reference in a new issue