mustNotDependOnSourceSets

fun mustNotDependOnSourceSets(vararg sourceSetNames: String)
fun mustNotDependOnSourceSets(sourceSetNames: List<String>)

Forbids the matched source set(s) from depending on the specified source-set names in the Gradle model.