Skip to content

Commit 6bd3ac8

Browse files
committed
Updated dependencies
1 parent 03bfe70 commit 6bd3ac8

2 files changed

Lines changed: 8 additions & 16 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Publish
2727
run: |
2828
chmod +x gradlew
29-
./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
29+
./gradlew publishToMavenCentral
3030
env:
3131
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
3232
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}

build.gradle

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ import com.vanniktech.maven.publish.*
33
plugins {
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

1312
group = 'com.imsweb'
@@ -21,9 +20,9 @@ repositories {
2120
}
2221

2322
dependencies {
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-
8981
def 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 {
10395
mavenPublishing {
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

Comments
 (0)