configure checkstyle & findbugs for gradle build