diff --git a/build.gradle b/build.gradle index 33d7bcb..b44d451 100644 --- a/build.gradle +++ b/build.gradle @@ -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' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9492014..1826e39 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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