@@ -3,9 +3,9 @@ plugins {
33 id " java-library"
44 id " maven-publish"
55
6- id " org.sonarqube" version " 4 .3.0.3225 "
6+ id " org.sonarqube" version " 6 .3.1.5724 "
77 id " com.diffplug.spotless" version " 6.19.0"
8- id " io.github.gradle-nexus.publish-plugin" version " 1.3 .0"
8+ id " io.github.gradle-nexus.publish-plugin" version " 2.0 .0"
99}
1010
1111repositories {
@@ -17,16 +17,16 @@ group = groupId
1717var ver = System . getenv(). getOrDefault(" RELEASE_VERSION" , artifactVersion)
1818version = ver. startsWith(" v" ) ? ver. substring(1 ) : ver
1919
20- sourceCompatibility = JavaVersion . VERSION_1_8
21- targetCompatibility = JavaVersion . VERSION_1_8
20+ sourceCompatibility = JavaVersion . VERSION_11
21+ targetCompatibility = JavaVersion . VERSION_11
2222
2323dependencies {
24- compileOnly " org.jetbrains:annotations:23 .0.0 "
24+ compileOnly " org.jetbrains:annotations:24 .0.1 "
2525 implementation " io.goodforgod:gson-configuration:2.0.0"
2626
27- testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:5.9.3 "
28- testImplementation " org.junit.jupiter:junit-jupiter-api:5.9.3 "
29- testImplementation " org.junit.jupiter:junit-jupiter-params:5.9.3 "
27+ testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:5.11.4 "
28+ testImplementation " org.junit.jupiter:junit-jupiter-api:5.11.4 "
29+ testImplementation " org.junit.jupiter:junit-jupiter-params:5.11.4 "
3030}
3131
3232test {
3535 testLogging {
3636 events(" passed" , " skipped" , " failed" )
3737 exceptionFormat(" full" )
38- showStandardStreams(false )
38+ showStandardStreams(true )
3939 }
4040
4141 reports {
@@ -71,8 +71,8 @@ nexusPublishing {
7171 sonatype {
7272 username = System . getenv(" OSS_USERNAME" )
7373 password = System . getenv(" OSS_PASSWORD" )
74- nexusUrl. set(uri(" https://oss. sonatype.org /service/local/" ))
75- snapshotRepositoryUrl. set(uri(" https://oss .sonatype.org/content/repositories/ snapshots/" ))
74+ nexusUrl. set(uri(" https://ossrh-staging-api.central. sonatype.com /service/local/" ))
75+ snapshotRepositoryUrl. set(uri(" https://central .sonatype.com/repository/maven- snapshots/" ))
7676 }
7777 }
7878}
@@ -110,8 +110,8 @@ publishing {
110110 }
111111 repositories {
112112 maven {
113- def releasesRepoUrl = " https://oss. sonatype.org /service/local/staging/deploy/maven2 "
114- def snapshotsRepoUrl = " https://oss .sonatype.org/content/repositories/ snapshots/"
113+ def releasesRepoUrl = " https://ossrh-staging-api.central. sonatype.com /service/local/"
114+ def snapshotsRepoUrl = " https://central .sonatype.com/repository/maven- snapshots/"
115115 url = version. endsWith(" SNAPSHOT" ) ? snapshotsRepoUrl : releasesRepoUrl
116116 credentials {
117117 username System . getenv(" OSS_USERNAME" )
0 commit comments