Apply Checkstyle in Gradle.