mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-06-01 22:19:18 +02:00
feat(build): add module dependency graph generation (#4042)
This commit is contained in:
+1
-24
@@ -37,10 +37,10 @@ plugins {
|
||||
alias(libs.plugins.kotlin.serialization) apply false
|
||||
alias(libs.plugins.protobuf) apply false
|
||||
alias(libs.plugins.secrets) apply false
|
||||
alias(libs.plugins.dependency.analysis)
|
||||
alias(libs.plugins.detekt) apply false
|
||||
alias(libs.plugins.kover)
|
||||
alias(libs.plugins.spotless) apply false
|
||||
alias(libs.plugins.meshtastic.root)
|
||||
}
|
||||
|
||||
|
||||
@@ -95,26 +95,3 @@ dependencies {
|
||||
kover(projects.feature.node)
|
||||
kover(projects.feature.settings)
|
||||
}
|
||||
|
||||
dependencyAnalysis {
|
||||
structure {
|
||||
ignoreKtx(true)
|
||||
|
||||
// Hilt Android is required by the Hilt plugin, but isn't directly used in many cases. Group
|
||||
// these dependencies together so warnings aren't triggered. If neither of these are being
|
||||
// used, the module likely shouldn't be applying the Hilt plugin.
|
||||
bundle("hilt-core") {
|
||||
includeDependency("com.google.dagger:hilt-core")
|
||||
includeDependency(libs.hilt.android)
|
||||
}
|
||||
}
|
||||
|
||||
issues {
|
||||
all {
|
||||
onUnusedDependencies {
|
||||
severity("fail")
|
||||
exclude("androidx.compose.ui:ui-test-manifest")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user