Skip to content

Instantly share code, notes, and snippets.

@abdulbasitkay
Created August 12, 2017 09:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdulbasitkay/e231751b04cf9fb66f20a42d3258dca9 to your computer and use it in GitHub Desktop.
Save abdulbasitkay/e231751b04cf9fb66f20a42d3258dca9 to your computer and use it in GitHub Desktop.
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