Sample gradle build script with Checkstyle and FindBugs for ci build
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