From 0b80010129edacf5686dbd11de1b8ad31ae4a476 Mon Sep 17 00:00:00 2001 From: Popov Bogdan Date: Fri, 8 Jan 2021 20:59:31 +0400 Subject: [PATCH 1/2] Unbind the version of arch.core:core-testing library from lifecycle lib version --- coroutines-codelab/build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/coroutines-codelab/build.gradle b/coroutines-codelab/build.gradle index ecf7dc34..42d6bae0 100644 --- a/coroutines-codelab/build.gradle +++ b/coroutines-codelab/build.gradle @@ -25,6 +25,7 @@ buildscript { // local variables (use def) def androidx_test_version = '1.2.0' def appcompat_version = '1.1.0' + def arch_core_test_version = '2.1.0' def constraint_layout_version = '1.1.3' def coroutines_android_version = '1.3.2' def expresso_version = '3.2.0' @@ -86,7 +87,7 @@ buildscript { "org.mockito:mockito-core:2.23.0", // Architecture Components testing libraries - "androidx.arch.core:core-testing:$lifecycle_version" + "androidx.arch.core:core-testing:$arch_core_test_version" ] androidTestLibraries = [ @@ -100,7 +101,7 @@ buildscript { "androidx.test.espresso:espresso-intents:$expresso_version", // Architecture Components testing libraries - "androidx.arch.core:core-testing:$lifecycle_version", + "androidx.arch.core:core-testing:$arch_core_test_version", "androidx.work:work-testing:$work_version", // Coroutines testing From c7fed6294c397b7b1e01666a44e351bce5a6bfdd Mon Sep 17 00:00:00 2001 From: Popov Bogdan Date: Sun, 10 Jan 2021 13:55:15 +0400 Subject: [PATCH 2/2] unbind arch-core version in advanced-coroutines-codelab --- advanced-coroutines-codelab/build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/advanced-coroutines-codelab/build.gradle b/advanced-coroutines-codelab/build.gradle index 9cc12ece..93bf9d91 100644 --- a/advanced-coroutines-codelab/build.gradle +++ b/advanced-coroutines-codelab/build.gradle @@ -13,6 +13,7 @@ buildscript { // local variables (use def) def androidx_test_version = '1.2.0' def annotations_version = '1.1.0' + def arch_core_test_version = '2.1.0' def appcompat_version = '1.1.0' def constraint_layout_version = '1.1.3' def coroutines_android_version = '1.3.0' @@ -81,7 +82,7 @@ buildscript { "org.mockito:mockito-core:2.23.0", // Architecture Components testing libraries - "androidx.arch.core:core-testing:$lifecycle_version", + "androidx.arch.core:core-testing:$arch_core_test_version", "com.google.truth:truth:$truth_version", ] @@ -97,7 +98,7 @@ buildscript { "androidx.test.espresso:espresso-intents:$expresso_version", // Architecture Components testing libraries - "androidx.arch.core:core-testing:$lifecycle_version", + "androidx.arch.core:core-testing:$arch_core_test_version", "androidx.work:work-testing:$work_version", ]