haveNamePath



Restricts the rules to modules with an exact matching Gradle path in the specified list of paths.

Parameters

paths

The list of Gradle paths of the module (e.g., ":core", ":app").


Restricts the rules to modules with an exact matching Gradle path in the specified paths.

Parameters

paths

The vararg list of Gradle paths of the module (e.g., ":core", ":app").


infix fun haveNamePath(predicate: (String) -> Boolean): ModulesRuleBuilder

Restricts the rules to modules with a Gradle path matching the given predicate.

Parameters

predicate

The predicate to match the module path.