From be963519333be90a6595f51805fe0824712a0a22 Mon Sep 17 00:00:00 2001 From: Drew Heavner <veedubusc@gmail.com> Date: Sat, 12 Jan 2019 20:09:03 -0500 Subject: [PATCH] Fixed missing transitive library in tests --- app/build.gradle | 11 ++++++----- .../repository/source/CombinedSearchDataSourceTest.kt | 3 +-- .../data/remote/plugin/CacheInvalidatePluginTest.kt | 2 +- tools/dependencies.gradle | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 67d203a7a..43a05b133 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -80,6 +80,7 @@ androidExtensions { dependencies { testImplementation "junit:junit:$junit_version" testImplementation "org.mockito:mockito-core:$mockito_version" + testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.1.0" testImplementation "org.amshove.kluent:kluent-android:$kluent_version" androidTestImplementation "org.amshove.kluent:kluent-android:$kluent_version" androidTestImplementation "androidx.test:runner:$runner_version" @@ -99,13 +100,13 @@ dependencies { implementation "com.google.android.material:material:$support_version" implementation "androidx.palette:palette:$support_version" - implementation "com.google.firebase:firebase-core:16.0.5" - implementation "com.google.firebase:firebase-firestore:17.1.2" - implementation "com.google.firebase:firebase-auth:16.0.5" - implementation "com.google.firebase:firebase-config:16.1.0" + implementation "com.google.firebase:firebase-core:16.0.6" + implementation "com.google.firebase:firebase-firestore:17.1.5" + implementation "com.google.firebase:firebase-auth:16.1.0" + implementation "com.google.firebase:firebase-config:16.1.3" implementation "com.google.android.gms:play-services-auth:16.0.1" implementation "com.google.android.gms:play-services-oss-licenses:16.0.1" - releaseImplementation 'com.crashlytics.sdk.android:crashlytics:2.9.6' + releaseImplementation 'com.crashlytics.sdk.android:crashlytics:2.9.8' implementation "com.google.dagger:dagger:$dagger_version" kapt "com.google.dagger:dagger-compiler:$dagger_version" diff --git a/app/src/test/java/com/r0adkll/deckbuilder/arch/data/features/cards/repository/source/CombinedSearchDataSourceTest.kt b/app/src/test/java/com/r0adkll/deckbuilder/arch/data/features/cards/repository/source/CombinedSearchDataSourceTest.kt index fd9b36ae7..04ab8a1e3 100644 --- a/app/src/test/java/com/r0adkll/deckbuilder/arch/data/features/cards/repository/source/CombinedSearchDataSourceTest.kt +++ b/app/src/test/java/com/r0adkll/deckbuilder/arch/data/features/cards/repository/source/CombinedSearchDataSourceTest.kt @@ -1,9 +1,8 @@ package com.r0adkll.deckbuilder.arch.data.features.cards.repository.source -import com.nhaarman.mockito_kotlin.anyOrNull +import com.nhaarman.mockitokotlin2.anyOrNull import com.r0adkll.deckbuilder.arch.data.AppPreferences import com.r0adkll.deckbuilder.arch.domain.features.cards.model.Filter -import com.r0adkll.deckbuilder.tools.ModelUtils import com.r0adkll.deckbuilder.tools.ModelUtils.createExpansion import com.r0adkll.deckbuilder.tools.ModelUtils.createPokemonCard import com.r0adkll.deckbuilder.tools.mockPreference diff --git a/app/src/test/java/com/r0adkll/deckbuilder/arch/data/remote/plugin/CacheInvalidatePluginTest.kt b/app/src/test/java/com/r0adkll/deckbuilder/arch/data/remote/plugin/CacheInvalidatePluginTest.kt index d4ba4dfbb..72c4a3a05 100644 --- a/app/src/test/java/com/r0adkll/deckbuilder/arch/data/remote/plugin/CacheInvalidatePluginTest.kt +++ b/app/src/test/java/com/r0adkll/deckbuilder/arch/data/remote/plugin/CacheInvalidatePluginTest.kt @@ -1,6 +1,6 @@ package com.r0adkll.deckbuilder.arch.data.remote.plugin -import com.nhaarman.mockito_kotlin.verify +import com.nhaarman.mockitokotlin2.verify import com.r0adkll.deckbuilder.arch.data.AppPreferences import com.r0adkll.deckbuilder.arch.data.features.expansions.ExpansionDataSource import com.r0adkll.deckbuilder.arch.domain.features.remote.Remote diff --git a/tools/dependencies.gradle b/tools/dependencies.gradle index bc2ee4262..416da366d 100644 --- a/tools/dependencies.gradle +++ b/tools/dependencies.gradle @@ -22,7 +22,7 @@ ext { play_version = '15.0.0' poketcg_version = '1.0.15' retrofit_version = '2.3.0' - room_version = '2.1.0-alpha02' + room_version = '2.1.0-alpha03' rxjava_version = '2.1.3' rxandroid_version = '2.0.1' rxbinding_version = '2.0.0'