resideInAPackage

infix fun resideInAPackage(packagePattern: String): ModulesRuleBuilder

Restricts the rules to modules containing files in a package matching the specified package pattern.


infix fun resideInAPackage(packagePatterns: List<String>): ModulesRuleBuilder
fun resideInAPackage(vararg packagePatterns: String): ModulesRuleBuilder

Restricts the rules to modules containing files in a package matching any of the specified package patterns.