From 2ce64b8f87610c9e6c6192e7a37994dfb026de75 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 31 May 2022 10:46:50 +0100 Subject: [PATCH 1/2] excluding the emoji dependencies from the unused check, their resources are used --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 232060fad5..beac7947cb 100644 --- a/build.gradle +++ b/build.gradle @@ -269,7 +269,13 @@ dependencyAnalysis { } project(":vector") { onUnusedDependencies { - exclude("org.maplibre.gl:android-sdk", "org.maplibre.gl:android-plugin-annotation-v9") // False positives + // False positives + exclude( + "org.maplibre.gl:android-sdk", + "org.maplibre.gl:android-plugin-annotation-v9", + "com.vanniktech:emoji-google", + "com.vanniktech:emoji-material" + ) } } } From 3f670045b3a3d92f65b118def121109144e07fa9 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 31 May 2022 11:08:06 +0100 Subject: [PATCH 2/2] ordering alphabetically and leaving a trailing comma --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index beac7947cb..635db83e14 100644 --- a/build.gradle +++ b/build.gradle @@ -271,10 +271,10 @@ dependencyAnalysis { onUnusedDependencies { // False positives exclude( - "org.maplibre.gl:android-sdk", - "org.maplibre.gl:android-plugin-annotation-v9", "com.vanniktech:emoji-google", - "com.vanniktech:emoji-material" + "com.vanniktech:emoji-material", + "org.maplibre.gl:android-plugin-annotation-v9", + "org.maplibre.gl:android-sdk", ) } }