check

fun check(g: ProjectGraph = graph): ViolationReport

Executes the compiled function rules against the provided project graph. Throws an AssertionError if any rule violations are detected.