@@ -3,11 +3,10 @@ import com.vanniktech.maven.publish.*
33plugins {
44 id ' java-library'
55 id ' jacoco'
6- id ' com.vanniktech.maven.publish' version ' 0.32 .0' // publish to Maven Central
6+ id ' com.vanniktech.maven.publish' version ' 0.34 .0' // publish to Maven Central
77 id ' com.github.ben-manes.versions' version ' 0.52.0' // check for out-of-date dependencies (run 'dependencyUpdates' manually)
8- id ' com.github.spotbugs' version ' 6.1.11' // spotbugs code analysis
9- id ' org.sonatype.gradle.plugins.scan' version ' 3.1.1' // scan for vulnerabilities
10- id ' org.sonarqube' version ' 6.1.0.5360' // sonarQube analysis
8+ id ' com.github.spotbugs' version ' 6.4.2' // spotbugs code analysis
9+ id ' org.sonarqube' version ' 6.3.1.5724' // sonarQube analysis
1110}
1211
1312group = ' com.imsweb'
@@ -21,9 +20,9 @@ repositories {
2120}
2221
2322dependencies {
24- implementation ' org.apache.commons:commons-lang3:3.17 .0'
25- implementation ' org.apache.commons:commons-compress:1.27.1 '
26- implementation ' commons-io:commons-io:2.19 .0'
23+ implementation ' org.apache.commons:commons-lang3:3.18 .0'
24+ implementation ' org.apache.commons:commons-compress:1.28.0 '
25+ implementation ' commons-io:commons-io:2.20 .0'
2726
2827 testImplementation ' junit:junit:4.13.2'
2928}
@@ -79,13 +78,6 @@ sonarqube {
7978 }
8079}
8180
82- // Nexus vulnerability scan (see https://github.com/sonatype-nexus-community/scan-gradle-plugin)
83- ossIndexAudit {
84- outputFormat = ' DEPENDENCY_GRAPH'
85- printBanner = false
86- }
87- check. dependsOn ' ossIndexAudit'
88-
8981def isNonStable = { String version ->
9082 def stableKeyword = [' RELEASE' , ' FINAL' , ' GA' ]. any { it -> version. toUpperCase(). contains(it) }
9183 def regex = / ^[0-9,.v-]+(-r)?$/
@@ -103,7 +95,7 @@ tasks.named("dependencyUpdates").configure {
10395mavenPublishing {
10496 configure(new JavaLibrary (new JavadocJar.Javadoc (), true ))
10597
106- publishToMavenCentral(SonatypeHost . CENTRAL_PORTAL , true )
98+ publishToMavenCentral(true )
10799 signAllPublications()
108100
109101 pom {
0 commit comments