File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
2
2
id " org.springframework.boot" version " $LIB_SPRING_BOOT_VER " apply false
3
3
id " org.sonarqube" version " 3.5.0.2730"
4
4
id " jacoco"
5
- id ' io.codearte. nexus-staging ' version ' 0.30 .0'
5
+ id " io.github.gradle- nexus.publish-plugin " version ' 1.1 .0'
6
6
}
7
7
8
8
sonar {
@@ -154,9 +154,13 @@ subprojects {
154
154
}
155
155
}
156
156
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
+ }
160
164
}
161
165
162
166
wrapper {
You can’t perform that action at this time.
0 commit comments