From 92fb73478080aaed3ef3e38a26ef7823fa299593 Mon Sep 17 00:00:00 2001 From: Jarne Demeulemeester Date: Sun, 19 Dec 2021 15:59:50 +0100 Subject: [PATCH] Upgrade libraries - android build tools - hilt - androidx room --- app/build.gradle.kts | 13 +++++++++++-- build.gradle.kts | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4742ed1a..37967620 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -37,6 +37,15 @@ android { } } + splits { + abi { + isEnable = true + reset() + include("armeabi-v7a", "arm64-v8a", "x86", "x86_64") + isUniversalApk = true + } + } + compileOptions { isCoreLibraryDesugaringEnabled = true sourceCompatibility = JavaVersion.VERSION_1_8 @@ -83,7 +92,7 @@ dependencies { implementation("androidx.recyclerview:recyclerview-selection:1.1.0") // Room - val roomVersion = "2.3.0" + val roomVersion = "2.4.0" implementation("androidx.room:room-runtime:$roomVersion") kapt("androidx.room:room-compiler:$roomVersion") implementation("androidx.room:room-ktx:$roomVersion") @@ -102,7 +111,7 @@ dependencies { kapt("com.github.bumptech.glide:compiler:$glideVersion") // Hilt - val hiltVersion = "2.40.2" + val hiltVersion = "2.40.5" implementation("com.google.dagger:hilt-android:$hiltVersion") kapt("com.google.dagger:hilt-compiler:$hiltVersion") diff --git a/build.gradle.kts b/build.gradle.kts index d1aa4588..1499fe89 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ buildscript { } } dependencies { - classpath("com.android.tools.build:gradle:7.0.3") + classpath("com.android.tools.build:gradle:7.0.4") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") // NOTE: Do not place your application dependencies here; they belong @@ -17,7 +17,7 @@ buildscript { val navVersion = "2.3.5" classpath("androidx.navigation:navigation-safe-args-gradle-plugin:$navVersion") - val hiltVersion = "2.40.2" + val hiltVersion = "2.40.5" classpath("com.google.dagger:hilt-android-gradle-plugin:$hiltVersion") val aboutLibrariesVersion = "8.9.4"