Skip to content

Commit

Permalink
SpotBugs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Jan 28, 2019
1 parent 16a4e37 commit 8d2f725
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ plugins {
id 'com.palantir.git-version' version '0.11.0'
id 'com.github.johnrengelman.shadow' version '2.0.4'
id 'com.github.maiflai.scalatest' version '0.22'
id 'com.github.spotbugs' version '1.6.9'
}

repositories {
Expand Down Expand Up @@ -148,6 +149,17 @@ task sourcesJar(type: Jar) {
classifier = 'sources'
}

spotbugs {
reportLevel = 'high'
}

tasks.withType(com.github.spotbugs.SpotBugsTask) {
reports {
xml.enabled = false
html.enabled = true
}
}

/**
*This specifies what artifacts will be built and uploaded when performing a maven upload.
*/
Expand Down

0 comments on commit 8d2f725

Please sign in to comment.