plugins {
id("com.rickbusarow.module-check") version "0.11.2"
}
moduleCheck {
autoCorrect = true
deleteUnused = true
checks {
overshotDependency = true
redundantDependency = false
unusedDependency = true
mustBeApi = true
inheritedImplementation = true
sortDependencies = false
sortPlugins = false
unusedKapt = true
anvilFactoryGeneration = true
disableAndroidResources = false
disableViewBinding = false
}
alwaysIgnore.set(setOf(":test:core-jvm", ":test:core-android"))
ignoreAll.set(setOf(":app"))
additionalKaptMatchers.set(
listOf(
modulecheck.api.KaptMatcher(
name = "MyProcessor",
processor = "my-project.codegen:processor",
annotationImports = listOf(
"myproject\\.\\*",
"myproject\\.MyInject",
"myproject\\.MyInject\\.Factory",
"myproject\\.MyInjectParam",
"myproject\\.MyInjectModule"
)
)
)
)
}