Skip to content

Commit

Permalink
Build: Update dependency analysis configuration on wordpress shortcodes
Browse files Browse the repository at this point in the history
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'
  • Loading branch information
ParaskP7 committed Aug 14, 2024
1 parent e578ad1 commit 48e2716
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions wordpress-shortcodes/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ dependencies {
testImplementation "org.robolectric:robolectric:$robolectricVersion"
}

dependencyAnalysis {
issues {
onUnusedDependencies {
// This dependency is actually needed otherwise the build fails in multiple places.
exclude("androidx.appcompat:appcompat")
}
}
}

project.afterEvaluate {
publishing {
publications {
Expand Down

0 comments on commit 48e2716

Please sign in to comment.