Gradle cleanup and new "checks" attribute.