Added support for checkstyle in gradle

I think these are what are enforcing { and } to be on the same line with if/else.

Since this entire code base has them on separate lines, we should remove the checks.