#321 will introduce code quality metrics for checkstyle, pmd, findbugs and lint. The checks would actually be turned of for the nightly builds since they report several issues so the builds would fail.
For the build to successfully run with these checks activated (gradle check) the pmd and findbugs issues need to be resolved.
To do so simply checkout the branch of the PR #321, compile, run gradle check and have a look at the reports in build\reports for pmd and checkstyle.