checkstyle for build

Checkstyle can be run using

    gradle chekstyleMain

or

    gradle checkstyleTest