From 128506b5873b9e684b122513e5c12df0be673ab2 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Mon, 8 Aug 2022 00:37:56 +0100 Subject: [PATCH] - Gradle dependencies updated Took 18 minutes --- app/build.gradle | 19 +++++-------------- .../h_mal/easycc/ui/main/MainActivityTest.kt | 1 - 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0267683..30622c1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -35,10 +35,10 @@ android { } dependencies { - implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.core:core-ktx:1.8.0' implementation 'androidx.appcompat:appcompat:1.4.2' implementation 'com.google.android.material:material:1.6.1' - implementation 'androidx.annotation:annotation:1.2.0' + implementation 'androidx.annotation:annotation:1.4.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' @@ -54,15 +54,11 @@ dependencies { implementation "com.squareup.retrofit2:converter-gson:$retrofit_ver" implementation "com.squareup.okhttp3:logging-interceptor:4.9.0" - //Kotlin Coroutines - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0" - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0" - // ViewModel and LiveData - implementation "androidx.lifecycle:lifecycle-extensions:2.1.0" + implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" //New Material Design - implementation 'com.google.android.material:material:1.1.0-alpha10' + implementation 'com.google.android.material:material:1.6.1' // Hilt dependency injection def hilt_ver = "2.43.2" @@ -75,12 +71,7 @@ dependencies { testImplementation 'org.mockito:mockito-inline:2.13.0' testImplementation 'androidx.arch.core:core-testing:2.1.0' - //Android Room - implementation "androidx.room:room-runtime:2.2.0-rc01" - implementation "androidx.room:room-ktx:2.2.0-rc01" - kapt "androidx.room:room-compiler:2.2.0-rc01" - - implementation "androidx.preference:preference-ktx:1.1.0" + implementation "androidx.preference:preference-ktx:1.2.0" //mock websever for testing retrofit responses testImplementation "com.squareup.okhttp3:mockwebserver:4.6.0" diff --git a/app/src/androidTest/java/com/appttude/h_mal/easycc/ui/main/MainActivityTest.kt b/app/src/androidTest/java/com/appttude/h_mal/easycc/ui/main/MainActivityTest.kt index eccf6d6..7c4771b 100644 --- a/app/src/androidTest/java/com/appttude/h_mal/easycc/ui/main/MainActivityTest.kt +++ b/app/src/androidTest/java/com/appttude/h_mal/easycc/ui/main/MainActivityTest.kt @@ -13,7 +13,6 @@ import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.testing.HiltAndroidRule import dagger.hilt.android.testing.HiltAndroidTest -import dagger.hilt.android.testing.HiltTestApplication import dagger.hilt.android.testing.UninstallModules import dagger.hilt.components.SingletonComponent import org.junit.Before