Skip to content

Commit 1f17041

Browse files
Build mit gradle 6.7
1 parent f8e0358 commit 1f17041

File tree

4 files changed

+12
-27
lines changed

4 files changed

+12
-27
lines changed

build.gradle

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ buildscript {
99
dependencies {
1010
classpath "org.raml.jaxrs:raml-to-jaxrs-gradle-plugin:3.0.5"
1111
classpath "biz.aQute.bnd:biz.aQute.bnd.gradle:4.1.0"
12-
classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.9"
1312
classpath "gradle.plugin.de.fntsoftware.gradle:markdown-to-pdf:1.1.0"
1413
}
1514
}
1615

16+
plugins {
17+
id "com.github.spotbugs" version "4.6.0"
18+
}
19+
1720
apply plugin: "de.fntsoftware.gradle.markdown-to-pdf"
1821

1922
allprojects {
@@ -32,22 +35,12 @@ allprojects {
3235
markdownToPdf{
3336
}
3437

35-
tasks.withType(com.github.spotbugs.SpotBugsTask) {
36-
ignoreFailures = true
37-
38-
effort = 'max'
39-
reportLevel = 'low'
40-
41-
reports {
42-
xml.enabled = true
43-
html.enabled = false
44-
}
45-
}
4638

4739
apply plugin: 'base'
4840

4941
assemble.dependsOn+='testspezifikationToPdf'
5042

43+
5144
subprojects {
5245
apply plugin: 'java'
5346
apply plugin: 'maven'

de.bitctrl.dav.rest.client/build.gradle

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ apply plugin: "com.github.spotbugs"
33
apply plugin: 'checkstyle'
44
apply plugin: "de.fntsoftware.gradle.markdown-to-pdf"
55

6-
7-
86
assemble.dependsOn+='betriebshandbuchToPdf'
97

108
description = 'Dav3 REST Client'
@@ -37,21 +35,15 @@ jar{
3735
}
3836
}
3937

40-
tasks.withType(com.github.spotbugs.SpotBugsTask) {
41-
ignoreFailures = true
42-
43-
effort = 'max'
44-
reportLevel = 'low'
45-
46-
reports {
47-
xml.enabled = true
48-
html.enabled = false
49-
}
50-
}
5138

5239
distZip {
5340
into(project.name+"-"+project.version) {
5441
from 'build'
5542
include 'Betriebshandbuch.pdf'
5643
}
5744
}
45+
46+
spotbugs {
47+
ignoreFailures = true
48+
showStackTraces = true
49+
}

de.bitctrl.dav.rest.server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply plugin: 'application'
2-
apply plugin: "com.github.spotbugs"
2+
apply plugin: 'com.github.spotbugs'
33
apply plugin: 'checkstyle'
44

55
description = 'Dav3 REST Server'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)