@@ -3,10 +3,10 @@ import com.vanniktech.maven.publish.*
33plugins {
44 id ' java-library'
55 id ' jacoco'
6- id ' com.vanniktech.maven.publish' version ' 0.34 .0' // publish to Maven Central
7- 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.4.2 ' // spotbugs code analysis
9- id ' org.sonarqube' version ' 6.3.1.5724 ' // sonarQube analysis
6+ id ' com.vanniktech.maven.publish' version ' 0.36 .0' // publish to Maven Central
7+ id ' com.github.ben-manes.versions' version ' 0.53 .0' // check for out-of-date dependencies (run 'dependencyUpdates' manually)
8+ id ' com.github.spotbugs' version ' 6.4.8 ' // spotbugs code analysis
9+ id ' org.sonarqube' version ' 7.2.2.6593 ' // sonarQube analysis
1010}
1111
1212group = ' com.imsweb'
@@ -20,16 +20,16 @@ repositories {
2020}
2121
2222dependencies {
23- implementation ' org.apache.commons:commons-lang3:3.18 .0'
23+ implementation ' org.apache.commons:commons-lang3:3.20 .0'
2424 implementation ' org.apache.commons:commons-compress:1.28.0'
25- implementation ' commons-io:commons-io:2.20 .0'
25+ implementation ' commons-io:commons-io:2.21 .0'
2626
2727 testImplementation ' junit:junit:4.13.2'
2828}
2929
3030java {
31- sourceCompatibility = JavaVersion . VERSION_11
32- targetCompatibility = JavaVersion . VERSION_11
31+ sourceCompatibility = JavaVersion . VERSION_21
32+ targetCompatibility = JavaVersion . VERSION_21
3333}
3434
3535tasks. withType(JavaCompile ). configureEach {
@@ -93,7 +93,7 @@ tasks.named("dependencyUpdates").configure {
9393
9494// needed to deploy to Maven Central Portal
9595mavenPublishing {
96- configure(new JavaLibrary (new JavadocJar.Javadoc (), true ))
96+ configure(new JavaLibrary (new JavadocJar.Javadoc (), new SourcesJar.Sources () ))
9797
9898 publishToMavenCentral(true )
9999 signAllPublications()
@@ -130,6 +130,6 @@ mavenPublishing {
130130
131131// Gradle wrapper, this allows to build the project without having to install Gradle!
132132wrapper {
133- gradleVersion = ' 8.14 '
133+ gradleVersion = ' 9.2.1 '
134134 distributionType = Wrapper.DistributionType . ALL
135135}
0 commit comments