1

enabled checkstyle and spotbugs

This commit is contained in:
LukasEttel
2020-03-03 14:46:47 +01:00
parent baec7bdddd
commit 13066f3dee
2 changed files with 27 additions and 2 deletions

View File

@ -2,6 +2,30 @@ plugins {
id 'org.springframework.boot' version '2.2.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
id 'com.github.spotbugs' version "3.0.0"
id 'checkstyle'
}
spotbugs{
ignoreFailures = true
effort = "max"
reportLevel = "high"
toolVersion = '4.0.0-RC1'
}
tasks.withType(com.github.spotbugs.SpotBugsTask) {
reports {
html {
enabled = true
}
xml {
enabled = false
}
}
}
checkstyle {
toolVersion = "8.28"
configFile = file("${rootDir}/config/checkstyle/checkstyle.xml")
ignoreFailures = true
}
group = 'mops'

View File

@ -1,5 +1,6 @@
#Tue Mar 03 14:24:58 CET 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME