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