This repository is meant to be used as a template for creating other robot projects. This repository is already set up to check builds using SpotBugs, Error Prone, PMD, and Checkstyle. It is also already set up for the Checkstyle for Java plugin. All you should need to do is create a repository from this template, clone it, and build it to have a ready-to-go project.
See here.