From 64ac515ed013aef7d76a17e3e41f1ebf3e77f34b Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 23 Sep 2020 16:35:08 +0530 Subject: [PATCH] build: force correct coroutines and kotlin-reflect artifacts Signed-off-by: Harsh Shandilya --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 0f5d9438..a8f5c879 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ buildscript { ext { compose_version = '1.0.0-alpha03' + coroutines_version = '1.3.9' dagger_version = '2.29.1' hilt_version = '2.29-alpha' kotlin_version = '1.4.10' @@ -50,6 +51,13 @@ subprojects { targetCompatibility JavaVersion.VERSION_1_8 } } + configurations.all { + resolutionStrategy { + force "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" + force "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" + force "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" + } + } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { kotlinOptions { jvmTarget = '1.8'