From ca92ad267dd2ea22605f06288965e3a748d5acf6 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Thu, 15 Sep 2022 12:35:20 +0100 Subject: [PATCH] excluding compile time legacy support annotations from dependencies --- vector/build.gradle | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vector/build.gradle b/vector/build.gradle index f6db2a61df..7658b07833 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -177,7 +177,9 @@ dependencies { // UI implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1' implementation libs.google.material - api 'me.gujun.android:span:1.7' + api('me.gujun.android:span:1.7') { + exclude group: 'com.android.support', module: 'support-annotations' + } implementation libs.markwon.core implementation libs.markwon.extLatex implementation libs.markwon.inlineParser @@ -225,7 +227,9 @@ dependencies { kapt libs.dagger.hiltCompiler // Analytics - implementation 'com.posthog.android:posthog:1.1.2' + implementation('com.posthog.android:posthog:1.1.2') { + exclude group: 'com.android.support', module: 'support-annotations' + } // UnifiedPush implementation 'com.github.UnifiedPush:android-connector:2.0.1'