notDependOnExternalLibraries

fun notDependOnExternalLibraries(vararg coordinates: String, includeTransitive: Boolean = true): ModulesRuleBuilder

Asserts that selected modules do not depend on the specified external maven libraries.

Supports simple glob matching (e.g. "org.jetbrains.kotlin:" or "com.google."). If the coordinate pattern does not contain ':', it matches against either group or name.

Parameters

coordinates

Maven coordinate pattern(s).

includeTransitive

True to assert against both direct and transitive external dependencies (defaults to true).