check

fun check(g: ProjectGraph = graph): ViolationReport

Executes the built module rules against the specified project graph.

Parameters

g

The ProjectGraph to check. Defaults to the lazy-loaded project graph.

Throws

If any of the verified modules violate the assertion rules.