mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix dependencyAnalysis plugin (#2766)
* Fix dependencyAnalysis plugin.
For some reason the plugin needs to be manually applied to all the libs, otherwise running `./gradlew buildHealth` does nothing.
Also, I had to add it to the convention plugins instead of using the `subprojects { ... }` approach because of the `:libraries:rustsdk` and `:libraries:textcomposer:lib` modules, which aren't proper Java/Kotlin modules.
* Add some extra checks to the dependency analysis plugin
This commit is contained in:
committed by
GitHub
parent
544f1d43b3
commit
d9c4c189af
@@ -118,6 +118,9 @@ dependencyAnalysis {
|
|||||||
onUnusedDependencies {
|
onUnusedDependencies {
|
||||||
exclude("com.jakewharton.timber:timber")
|
exclude("com.jakewharton.timber:timber")
|
||||||
}
|
}
|
||||||
|
onUnusedAnnotationProcessors {}
|
||||||
|
onRedundantPlugins {}
|
||||||
|
onIncorrectConfiguration {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ val libs = the<LibrariesForLibs>()
|
|||||||
plugins {
|
plugins {
|
||||||
id("com.android.application")
|
id("com.android.application")
|
||||||
id("kotlin-android")
|
id("kotlin-android")
|
||||||
|
id("com.autonomousapps.dependency-analysis")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ val libs = the<LibrariesForLibs>()
|
|||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
id("com.android.library")
|
||||||
id("kotlin-android")
|
id("kotlin-android")
|
||||||
|
id("com.autonomousapps.dependency-analysis")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ val libs = the<LibrariesForLibs>()
|
|||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
id("com.android.library")
|
||||||
id("kotlin-android")
|
id("kotlin-android")
|
||||||
|
id("com.autonomousapps.dependency-analysis")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|||||||
Reference in New Issue
Block a user