Apply Gradle Checkstyle plugin.

Closes #10