Checkstyle usage with Gradle

Can some one please link me to the complete checkstyle - gradle example.