under

fun under(path: String): String

Converts a module base path into a recursive glob pattern matching all submodules under it.

Example:

modules.under(":feature") // produces ":feature:**" which matches ":feature:checkout", ":feature:profile"

Return

The normalized module glob pattern.

Parameters

path

The base module path (e.g., ":feature", "feature", or ":").


fun under(vararg paths: String): List<String>

Converts multiple module base paths into recursive glob patterns matching all submodules under them.


fun under(paths: List<String>): List<String>

Converts a list of module base paths into recursive glob patterns matching all submodules under them.