resideInAModule

infix fun resideInAModule(modulePath: String): ModulesRuleBuilder

Restricts the rules to modules with a Gradle path matching the specified module path pattern.


infix fun resideInAModule(modulePaths: List<String>): ModulesRuleBuilder
fun resideInAModule(vararg modulePaths: String): ModulesRuleBuilder

Restricts the rules to modules with a Gradle path matching any of the specified module path patterns.