@@ -2,14 +2,13 @@ plugins {
22 id ' java-library'
33 id ' checkstyle'
44 id ' jacoco'
5- id " com.github.spotbugs" version " 5.0.7 "
5+ id " com.github.spotbugs" version " 5.0.13 "
66 id ' maven-publish'
77 id ' signing'
88 id " io.codearte.nexus-staging" version " 0.30.0" // logs into Sonotype OSS and does a "Close" and "Release"
99 id ' com.adarshr.test-logger' version ' 3.2.0'
10- id " com.github.ben-manes.versions" version " 0.42.0"
11- id ' org.sonatype.gradle.plugins.scan' version ' 2.4.1'
12- id " org.sonarqube" version " 3.4.0.2513"
10+ id " com.github.ben-manes.versions" version " 0.44.0"
11+ id " org.sonarqube" version " 3.5.0.2730"
1312}
1413
1514group = ' com.imsweb'
@@ -34,13 +33,13 @@ repositories {
3433}
3534
3635dependencies {
37- spotbugs ' com.github.spotbugs:spotbugs:4.6.0 '
36+ spotbugs ' com.github.spotbugs:spotbugs:4.7.3 '
3837
39- api ' com.thoughtworks.xstream:xstream:1.4.19 '
38+ api ' com.thoughtworks.xstream:xstream:1.4.20 '
4039
41- testImplementation ' org.junit.jupiter:junit-jupiter-api:5.9.1 '
42- testImplementation ' org.junit.jupiter:junit-jupiter-params:5.9.1 '
43- testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.9.1 '
40+ testImplementation ' org.junit.jupiter:junit-jupiter-api:5.9.2 '
41+ testImplementation ' org.junit.jupiter:junit-jupiter-params:5.9.2 '
42+ testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.9.2 '
4443 testImplementation ' commons-io:commons-io:2.11.0'
4544 testImplementation ' org.jsoup:jsoup:1.15.3'
4645 testImplementation ' com.jayway.jsonpath:json-path:2.7.0'
@@ -88,24 +87,6 @@ sonarqube {
8887 }
8988}
9089
91- // Nexus vulnerability scan (https://github.com/sonatype-nexus-community/scan-gradle-plugin)
92- ossIndexAudit {
93- outputFormat = ' DEPENDENCY_GRAPH'
94- printBanner = false
95-
96- // only set proxy if running outside of Github Actions
97- if (! System . getenv(). GITHUB_ACTIONS ) {
98- proxyConfiguration {
99- protocol = ' http'
100- host = ' webproxy-btp.imsweb.com'
101- port = 8080
102- }
103- }
104-
105- excludeCoordinates = [' com.thoughtworks.xstream:xstream:1.4.19' ]
106- }
107- check. dependsOn ' ossIndexAudit'
108-
10990def isNonStable = { String version ->
11091 def stableKeyword = [' RELEASE' , ' FINAL' , ' GA' ]. any { qualifier -> version. toUpperCase(). contains(qualifier) }
11192 def regex = / ^[0-9,.v-]+$/
@@ -210,6 +191,6 @@ nexusStaging {
210191}
211192
212193wrapper {
213- gradleVersion = ' 7.4.2 '
194+ gradleVersion = ' 7.6 '
214195 distributionType = Wrapper.DistributionType . ALL
215196}
0 commit comments