onlyBeDependedOnBy
Asserts that selected modules are depended on only by modules matching the specified allowed pattern.
Parameters
allowedPattern
Glob pattern of a module allowed to depend on the selected modules.
Asserts that selected modules are depended on only by modules matching the specified allowed patterns.
Parameters
allowedPatterns
Glob patterns of modules allowed to depend on the selected modules.
Asserts that selected modules are depended on only by modules matching the predicate.
Parameters
predicate
Predicate checking dependent module path.
Asserts that selected modules are depended on only by modules matching the predicate.
Parameters
description
A descriptive string for the predicate used in violations.
predicate
Predicate checking dependent module path.