Created
August 12, 2017 09:06
-
-
Save abdulbasitkay/e231751b04cf9fb66f20a42d3258dca9 to your computer and use it in GitHub Desktop.
Sample gradle build script with Checkstyle and FindBugs for ci build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
apply plugin: 'findbugs' | |
apply plugin: 'checkstyle' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
... | |
} | |
tasks.withType(FindBugs) { | |
reports { | |
xml.enabled false | |
html.enabled true | |
} | |
} | |
tasks.withType(Checkstyle) { | |
reports { | |
xml.enabled false | |
html.enabled true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment