Skip to content

Commit 5d8a554

Browse files
committed
Upgrade spotbugs
1 parent ef5c40e commit 5d8a554

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

checksum.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
<trusted-key id='bcf4173966770193' group='org.jetbrains' />
165165
<trusted-key id='b2c4d8b48a99f98a' group='org.jetbrains.kotlin' />
166166
<trusted-key id='66f8e4860bf74983' group='org.jooq' />
167+
<trusted-key id='145d819475314d97' group='org.json' />
167168
<trusted-key id='8db9fa0b0718bbf9' group='org.jsr107.ri' />
168169
<trusted-key id='0315bfb7970a144f' group='org.jvnet.staxex' />
169170
<trusted-key id='f1f286fc184b6bda' group='org.kordamp.gradle' />

gradle/codeQuality.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Configurations for code quality analysis
33
*/
4+
import static org.gradle.util.GradleVersion.version
5+
46
apply plugin: 'org.kordamp.gradle.jandex'
57
apply plugin: 'org.kordamp.gradle.stats'
68
apply plugin: 'com.github.spotbugs'
@@ -67,18 +69,18 @@ checkstyle {
6769

6870
spotbugs {
6971
effort = 'max'
70-
toolVersion = pluginVersions.spotbugs
7172
excludeFilter = file("${rootDir}/config/spotbugs/exclude.xml")
73+
toolVersion = [version(pluginVersions.spotbugs), version(toolVersion.get())].max().version
7274
}
7375

7476
pmd {
7577
ruleSets = []
76-
toolVersion = pluginVersions.pmd
7778
ruleSetConfig = resources.text.fromFile(file("${rootDir}/config/pmd/rulesSets.xml"))
79+
toolVersion = [version(pluginVersions.pmd), version(toolVersion)].max().version
7880
}
7981

8082
jacoco {
81-
toolVersion = pluginVersions.jacoco
83+
toolVersion = [version(pluginVersions.jacoco), version(toolVersion)].max().version
8284
}
8385

8486
jacocoTestReport {

gradle/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ ext {
9696
semanticVersioning: '1.1.0',
9797
shadow: '6.1.0',
9898
sonarqube: '3.0',
99-
spotbugs: '4.0.3',
99+
spotbugs: '4.1.3',
100100
spotbugsPlugin: '4.5.1',
101101
stats: '0.2.2',
102102
versions: '0.33.0',

0 commit comments

Comments
 (0)