From bcc3578af1bd584cb55fbc4c27474beb8db9707e Mon Sep 17 00:00:00 2001 From: Chumva Date: Mon, 21 Jan 2019 13:13:56 +0200 Subject: [PATCH] Fix DexException --- OsmAnd-telegram/build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OsmAnd-telegram/build.gradle b/OsmAnd-telegram/build.gradle index 57141c4238..7b0cfbcb28 100644 --- a/OsmAnd-telegram/build.gradle +++ b/OsmAnd-telegram/build.gradle @@ -135,7 +135,9 @@ dependencies { implementation project(path: ':OsmAnd-java', configuration: 'android') implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation( "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version") { + exclude group: 'org.jetbrains', module: 'annotations' + } implementation 'com.android.support:appcompat-v7:28.0.0-rc01' implementation 'com.android.support:design:28.0.0-rc01' implementation 'com.android.support:customtabs:28.0.0-rc01' @@ -146,4 +148,5 @@ dependencies { implementation("com.github.HITGIF:TextFieldBoxes:1.4.4") { exclude group: 'com.android.support' } + implementation 'org.jetbrains:annotations-java5:15.0' }