Skip to content

Commit 0136921

Browse files
committed
Build: Update dependency analysis configuration on app
These 'unused' related advises for the 'app' module is actually correct, both 'media-placeholders' and ':picasso-loader', can be removed as dependencies since they are actually unused and not being utilized from within the app. However, I chose to keep them there and suppress the advise instead in order to preserve the app default configuration, its purpose being to test all those individual modules: - aztec - glide-loader - picasso-loader - wordpress-comments - wordpress-shortcodes - media-placeholders As such this advice is instead suppressed and the 'onUnusedDependencies' exclusion configuration were used to achieve that. ------------------------------------------------------------------------ Advice for :app Unused dependencies which should be removed: implementation project(':media-placeholders') implementation project(':picasso-loader')
1 parent 0bf2a1c commit 0136921

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,13 @@ dependencies {
5757
exclude group: 'com.android.support', module: 'support-annotations'
5858
}
5959
}
60+
61+
dependencyAnalysis {
62+
issues {
63+
onUnusedDependencies {
64+
// These dependency are not needed but kept to preserve the module's default configuration.
65+
exclude(":media-placeholders")
66+
exclude(":picasso-loader")
67+
}
68+
}
69+
}

0 commit comments

Comments
 (0)