File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
22 id " org.springframework.boot" version " $LIB_SPRING_BOOT_VER " apply false
33 id " org.sonarqube" version " 3.5.0.2730"
44 id " jacoco"
5- id ' io.codearte. nexus-staging ' version ' 0.30 .0'
5+ id " io.github.gradle- nexus.publish-plugin " version ' 1.1 .0'
66}
77
88sonar {
@@ -154,9 +154,13 @@ subprojects {
154154 }
155155}
156156
157- nexusStaging {
158- username = System . env. OSS_USER_TOKEN_KEY ?: project. findProperty(' OSS_USER_TOKEN_KEY' ) ?: ' '
159- password = System . env. OSS_USER_TOKEN_PASS ?: project. findProperty(' OSS_USER_TOKEN_PASS' ) ?: ' '
157+ nexusPublishing {
158+ repositories {
159+ sonatype {
160+ username = System . env. OSS_USER_TOKEN_KEY ?: project. findProperty(' OSS_USER_TOKEN_KEY' ) ?: ' '
161+ password = System . env. OSS_USER_TOKEN_PASS ?: project. findProperty(' OSS_USER_TOKEN_PASS' ) ?: ' '
162+ }
163+ }
160164}
161165
162166wrapper {
You can’t perform that action at this time.
0 commit comments