Skip to content

Commit 48e2716

Browse files
committed
Build: Update dependency analysis configuration on wordpress shortcodes
This 'unused' related advise for the 'wordpress-shortcodes' module is actually incorrect as the build is failing when the 'appcompat' dependency is removed. Just like it was done on this (7db2a43) change, the seemingly unused 'androidx.appcompat' dependency advise got suppressed as well. ------------------------------------------------------------------------ Advice for :wordpress-shortcodes Unused dependencies which should be removed: implementation 'androidx.appcompat:appcompat:1.1.0'
1 parent e578ad1 commit 48e2716

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

wordpress-shortcodes/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ dependencies {
4343
testImplementation "org.robolectric:robolectric:$robolectricVersion"
4444
}
4545

46+
dependencyAnalysis {
47+
issues {
48+
onUnusedDependencies {
49+
// This dependency is actually needed otherwise the build fails in multiple places.
50+
exclude("androidx.appcompat:appcompat")
51+
}
52+
}
53+
}
54+
4655
project.afterEvaluate {
4756
publishing {
4857
publications {

0 commit comments

Comments
 (0)