1
1
plugins {
2
2
id ' java'
3
- id ' com.github.spotbugs' version ' 5.0.10 '
3
+ id ' com.github.spotbugs' version ' 5.0.13 '
4
4
id ' checkstyle'
5
5
id ' jacoco'
6
6
id ' com.github.hierynomus.license' version ' 0.16.1'
@@ -145,24 +145,32 @@ spotbugsMain {
145
145
// Configure HTML report
146
146
reports {
147
147
xml {
148
- enabled = true
148
+ required . set( true )
149
149
destination = file(" $buildDir /reports/spotbugs/main.xml" )
150
150
}
151
+ html {
152
+ required. set(true )
153
+ destination = file(" $buildDir /reports/spotbugs/main.html" )
154
+ }
151
155
}
152
156
}
153
157
spotbugsTest {
154
158
// Configure HTML report
155
159
reports {
156
160
xml {
157
- enabled = true
161
+ required . set( true )
158
162
destination = file(" $buildDir /reports/spotbugs/test.xml" )
159
163
}
164
+ html {
165
+ required. set(true )
166
+ destination = file(" $buildDir /reports/spotbugs/test.html" )
167
+ }
160
168
}
161
169
}
162
170
163
171
task checkSpotBugsMainReport {
164
172
doLast {
165
- def xmlReport = spotbugsMain. reports. getByName(" XML " )
173
+ def xmlReport = spotbugsMain. reports. getByName(" xml " )
166
174
def slurped = new groovy.xml.XmlSlurper (). parse(xmlReport. destination)
167
175
def bugsFound = slurped.BugInstance . size()
168
176
slurped.BugInstance . each {
@@ -179,7 +187,7 @@ task checkSpotBugsMainReport {
179
187
180
188
task checkSpotBugsTestReport {
181
189
doLast {
182
- def xmlReport = spotbugsTest. reports. getByName(" XML " )
190
+ def xmlReport = spotbugsTest. reports. getByName(" xml " )
183
191
def slurped = new XmlSlurper (). parse(xmlReport. destination)
184
192
def bugsFound = slurped.BugInstance . size()
185
193
slurped.BugInstance . each {
@@ -315,21 +323,21 @@ repositories {
315
323
316
324
dependencies {
317
325
implementation group : ' commons-cli' , name : ' commons-cli' , version : ' 1.5.0'
318
- implementation group : ' com.fasterxml.jackson.core' , name : ' jackson-core' , version : ' 2.13.4 '
319
- implementation group : ' com.fasterxml.jackson.datatype' , name : ' jackson-datatype-guava' , version : ' 2.13.4 '
326
+ implementation group : ' com.fasterxml.jackson.core' , name : ' jackson-core' , version : ' 2.14.0 '
327
+ implementation group : ' com.fasterxml.jackson.datatype' , name : ' jackson-datatype-guava' , version : ' 2.14.0 '
320
328
implementation group : ' com.google.guava' , name : ' guava' , version : ' 31.1-jre'
321
- implementation group : ' org.slf4j' , name : ' slf4j-log4j12' , version : ' 2.0.3 '
329
+ implementation group : ' org.slf4j' , name : ' slf4j-log4j12' , version : ' 2.0.4 '
322
330
implementation group : ' org.apache.commons' , name : ' commons-text' , version : ' 1.10.0'
323
331
implementation group : ' org.apache.logging.log4j' , name : ' log4j-api' , version : ' 2.19.0'
324
332
implementation group : ' org.apache.logging.log4j' , name : ' log4j-core' , version : ' 2.19.0'
325
- implementation group : ' org.mongodb' , name : ' mongodb-driver-sync' , version : ' 4.7.2 '
326
- implementation group : ' com.jcraft ' , name : ' jsch' , version : ' 0.1.55 '
333
+ implementation group : ' org.mongodb' , name : ' mongodb-driver-sync' , version : ' 4.8.0 '
334
+ implementation group : ' com.github.mwiede ' , name : ' jsch' , version : ' 0.2.4 '
327
335
implementation group : ' org.apache.calcite' , name : ' calcite-core' , version : ' 1.32.0'
328
336
implementation group : ' commons-beanutils' , name : ' commons-beanutils' , version : ' 1.9.4'
329
- implementation ' io.github.hakky54:sslcontext-kickstart:7.4.7 '
337
+ implementation ' io.github.hakky54:sslcontext-kickstart:7.4.8 '
330
338
331
339
compileOnly group : ' org.immutables' , name : ' value' , version : ' 2.9.2'
332
- compileOnly group : ' com.puppycrawl.tools' , name : ' checkstyle' , version : ' 10.3. 4'
340
+ compileOnly group : ' com.puppycrawl.tools' , name : ' checkstyle' , version : ' 10.4'
333
341
compileOnly ' org.projectlombok:lombok:1.18.24'
334
342
annotationProcessor ' org.projectlombok:lombok:1.18.24'
335
343
@@ -339,18 +347,18 @@ dependencies {
339
347
testAnnotationProcessor group : ' org.projectlombok' , name : ' lombok' , version : ' 1.18.24'
340
348
testImplementation group : ' org.junit.jupiter' , name : ' junit-jupiter-api' , version : ' 5.9.1'
341
349
testImplementation group : ' org.junit.jupiter' , name : ' junit-jupiter-params' , version : ' 5.9.1'
342
- testImplementation group : ' org.mockito' , name : ' mockito-core' , version : ' 4.8 .0'
343
- testRuntimeOnly group : ' de.flapdoodle.embed' , name : ' de.flapdoodle.embed.mongo' , version : ' 3.5.1 '
350
+ testImplementation group : ' org.mockito' , name : ' mockito-core' , version : ' 4.9 .0'
351
+ testRuntimeOnly group : ' de.flapdoodle.embed' , name : ' de.flapdoodle.embed.mongo' , version : ' 3.5.2 '
344
352
testRuntimeOnly ' org.junit.jupiter:junit-jupiter-api:5.9.1'
345
353
testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine'
346
354
testRuntimeOnly group : ' org.junit.jupiter' , name : ' junit-jupiter-engine' , version : ' 5.9.1'
347
355
348
356
spotbugsPlugins ' com.h3xstream.findsecbugs:findsecbugs-plugin:1.12.0'
349
357
350
- testFixturesCompileOnly group : ' de.flapdoodle.embed' , name : ' de.flapdoodle.embed.mongo' , version : ' 3.4.11 '
358
+ testFixturesCompileOnly group : ' de.flapdoodle.embed' , name : ' de.flapdoodle.embed.mongo' , version : ' 3.5.2 '
351
359
testFixturesCompileOnly ' org.junit.jupiter:junit-jupiter-api:5.9.1'
352
360
testFixturesImplementation group : ' com.google.guava' , name : ' guava' , version : ' 29.0-jre'
353
- testFixturesImplementation group : ' org.mongodb' , name : ' mongodb-driver-sync' , version : ' 4.7.2 '
361
+ testFixturesImplementation group : ' org.mongodb' , name : ' mongodb-driver-sync' , version : ' 4.8.0 '
354
362
testFixturesImplementation group : ' org.apache.logging.log4j' , name : ' log4j-api' , version : ' 2.17.2'
355
363
testFixturesImplementation group : ' org.apache.logging.log4j' , name : ' log4j-core' , version : ' 2.17.2'
356
364
}
0 commit comments