mayDependOn

fun mayDependOn(vararg packagePatterns: String)

Restricts the platform package patterns the matched source set(s) may depend on. Any platform package reference outside of these patterns will trigger a violation.


fun mayDependOn(packagePatterns: List<String>)

Restricts the platform package patterns the matched source set(s) may depend on.