mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 01:17:05 +05:30
feat(build): add module-graph-assert plugin
This commit is contained in:
parent
68db3dcda6
commit
0a1913e056
3 changed files with 13 additions and 0 deletions
|
@ -16,6 +16,7 @@ plugins {
|
|||
id("dev.msfjarvis.claw.sentry")
|
||||
id("dev.msfjarvis.claw.versioning-plugin")
|
||||
alias(libs.plugins.anvil)
|
||||
alias(libs.plugins.modulegraphassert)
|
||||
alias(libs.plugins.whetstone)
|
||||
}
|
||||
|
||||
|
@ -39,6 +40,12 @@ android {
|
|||
packaging { jniLibs { useLegacyPackaging = true } }
|
||||
}
|
||||
|
||||
moduleGraphAssert {
|
||||
assertOnAnyBuild = true
|
||||
maxHeight = 4
|
||||
restricted = arrayOf(":core -X> :.*")
|
||||
}
|
||||
|
||||
whetstone {
|
||||
addOns {
|
||||
compose.set(true)
|
||||
|
|
|
@ -99,5 +99,6 @@ android-test = { id = "com.android.test", version.ref = "agp" }
|
|||
anvil = "com.squareup.anvil:2.4.4"
|
||||
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
||||
modulegraph = "dev.iurysouza.modulegraph:0.4.0"
|
||||
modulegraphassert = "com.jraska.module.graph.assertion:2.3.2"
|
||||
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
||||
whetstone = { id = "dev.msfjarvis.whetstone", version.ref = "whetstone" }
|
||||
|
|
|
@ -42,6 +42,11 @@ pluginManagement {
|
|||
includeModule("gradle.plugin.org.gradle.android", "android-cache-fix-gradle-plugin")
|
||||
includeModule("dev.iurysouza.modulegraph", "dev.iurysouza.modulegraph.gradle.plugin")
|
||||
includeModule("dev.iurysouza", "modulegraph")
|
||||
includeModule(
|
||||
"com.jraska.module.graph.assertion",
|
||||
"com.jraska.module.graph.assertion.gradle.plugin"
|
||||
)
|
||||
includeModule("com.jraska.module.graph.assertion", "plugin")
|
||||
}
|
||||
}
|
||||
exclusiveContent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue