added checkstyle plugin, cleaned up build.gradle