From b165c9efc18b1a29407f0a761950f8fabc2699b2 Mon Sep 17 00:00:00 2001 From: Alexey Shabliy Date: Tue, 15 Feb 2022 21:12:19 +0300 Subject: [PATCH] Add support for kotlin 1.6 by adding dependency on kotlinx-metadata:0.4.0, overriding Dagger's 0:2:0 dependency. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 584e891..e6652f8 100644 --- a/build.gradle +++ b/build.gradle @@ -30,7 +30,7 @@ dependencies { implementation 'com.google.dagger:dagger-compiler:2.31.2' implementation 'com.google.dagger:dagger-android-processor:2.31.2' implementation group: 'com.google.dagger', name: 'dagger-spi', version: '2.31.2' - + runtimeOnly group: 'org.jetbrains.kotlinx', name: 'kotlinx-metadata-jvm', version: '0.4.0' testImplementation group: 'junit', name: 'junit', version: '4.12' testImplementation fileTree(include: ['*.jar'], dir: 'libs') kaptTest fileTree(include: ['*.jar'], dir: 'libs')