Commit 01959b37 authored by Tiger Oakes's avatar Tiger Oakes
Browse files

Add arch common dependency to fix build issues

parent b1e2ab7d
......@@ -52,7 +52,7 @@ object Versions {
const val lifecycle = "2.2.0"
const val media = "1.1.0"
const val work = "2.2.0"
const val arch_core_testing = "2.1.0"
const val arch = "2.1.0"
const val uiautomator = "2.2.0"
const val localbroadcastmanager = "1.0.0"
const val swiperefreshlayout = "1.0.0"
......@@ -82,7 +82,8 @@ object Dependencies {
const val androidx_annotation = "androidx.annotation:annotation:${Versions.AndroidX.annotation}"
const val androidx_appcompat = "androidx.appcompat:appcompat:${Versions.AndroidX.appcompat}"
const val androidx_arch_core_testing = "androidx.arch.core:core-testing:${Versions.AndroidX.arch_core_testing}"
const val androidx_arch_core_common = "androidx.arch.core:core-common:${Versions.AndroidX.arch}"
const val androidx_arch_core_testing = "androidx.arch.core:core-testing:${Versions.AndroidX.arch}"
const val androidx_browser = "androidx.browser:browser:${Versions.AndroidX.browser}"
const val androidx_cardview = "androidx.cardview:cardview:${Versions.AndroidX.cardview}"
const val androidx_constraintlayout = "androidx.constraintlayout:constraintlayout:${Versions.AndroidX.constraintlayout}"
......
......@@ -104,7 +104,7 @@ class TopSiteStorageTest {
val topSites = storage.getTopSites().first()
assertNotNull(topSites!!)
assertNotNull(topSites)
assertEquals(2, topSites.size)
with(topSites[0]) {
......
......@@ -32,6 +32,7 @@ android {
dependencies {
implementation Dependencies.kotlin_stdlib
implementation Dependencies.androidx_arch_core_common
implementation Dependencies.androidx_espresso_core
implementation Dependencies.androidx_test_core
implementation Dependencies.testing_leakcanary
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment