This commit configures the Java compiler to break the build in case of
the following warnings:
* Calling deprecated code
* Use of unchecked and raw types
* Incorrect use of varargs
Closes gh-1537
This commit updates the Gradle build to run checkstyle against the main
sources. Checks for tests, as well as certain rules, are disabled as a
first step.
See gh-1479