Add DependencyGuard to check release runtime dependencies
This commit is contained in:
parent
d02c7c0a45
commit
e809756c55
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id(ThunderbirdPlugins.App.android)
|
||||
alias(libs.plugins.dependency.guard)
|
||||
}
|
||||
|
||||
val testCoverageEnabled: Boolean by extra
|
||||
|
@ -164,3 +165,7 @@ android {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencyGuard {
|
||||
configuration("releaseRuntimeClasspath")
|
||||
}
|
||||
|
|
|
@ -41,6 +41,7 @@ glide = "4.16.0"
|
|||
moshi = "1.15.0"
|
||||
mockito = "5.8.0"
|
||||
forkhandlesBom = "2.12.2.0"
|
||||
pluginDependencyGuard = "0.4.3"
|
||||
|
||||
[plugins]
|
||||
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
|
||||
|
@ -53,6 +54,7 @@ kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
|||
spotless = "com.diffplug.spotless:6.23.3"
|
||||
detekt = "io.gitlab.arturbosch.detekt:1.23.4"
|
||||
dependency-check = "com.github.ben-manes.versions:0.50.0"
|
||||
dependency-guard = { id = "com.dropbox.dependency-guard", version.ref = "pluginDependencyGuard" }
|
||||
|
||||
[libraries]
|
||||
desugar = "com.android.tools:desugar_jdk_libs:2.0.4"
|
||||
|
|
Loading…
Reference in a new issue