This repository was archived by the owner on Dec 19, 2023. It is now read-only.
File tree 2 files changed +9
-19
lines changed
2 files changed +9
-19
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ plugins {
24
24
id " org.springframework.boot" version " $LIB_SPRING_BOOT_VER " apply false
25
25
id " org.sonarqube" version " $PLUGIN_SONARQUBE_VER "
26
26
id " jacoco"
27
- id ' io.codearte. nexus-staging ' version " $P LUGIN_NEXUS_STAGING_VER "
27
+ id " io.github.gradle- nexus.publish-plugin " version " $P LUGIN_NEXUS_PUBLISH_VER "
28
28
}
29
29
30
30
sonarqube {
@@ -188,26 +188,16 @@ subprojects {
188
188
}
189
189
}
190
190
}
191
- repositories {
192
- maven {
193
- name ' ossrh'
194
- if (version. toString(). endsWith(" -SNAPSHOT" )) {
195
- url " https://oss.sonatype.org/content/repositories/snapshots/"
196
- } else {
197
- url " https://oss.sonatype.org/service/local/staging/deploy/maven2"
198
- }
199
- credentials {
200
- username = System . env. OSS_USER_TOKEN_KEY ?: project. findProperty(' OSS_USER_TOKEN_KEY' ) ?: ' '
201
- password = System . env. OSS_USER_TOKEN_PASS ?: project. findProperty(' OSS_USER_TOKEN_PASS' ) ?: ' '
202
- }
203
- }
204
- }
205
191
}
206
192
}
207
193
208
- nexusStaging {
209
- username = System . env. OSS_USER_TOKEN_KEY ?: project. findProperty(' OSS_USER_TOKEN_KEY' ) ?: ' '
210
- password = System . env. OSS_USER_TOKEN_PASS ?: project. findProperty(' OSS_USER_TOKEN_PASS' ) ?: ' '
194
+ nexusPublishing {
195
+ repositories {
196
+ sonatype {
197
+ username = System . env. OSS_USER_TOKEN_KEY ?: project. findProperty(' OSS_USER_TOKEN_KEY' ) ?: ' '
198
+ password = System . env. OSS_USER_TOKEN_PASS ?: project. findProperty(' OSS_USER_TOKEN_PASS' ) ?: ' '
199
+ }
200
+ }
211
201
}
212
202
213
203
wrapper {
Original file line number Diff line number Diff line change @@ -42,5 +42,5 @@ LIB_JSOUP_VER=1.15.2
42
42
# ## Plugins
43
43
PLUGIN_JACOCO_VER =0.8.7
44
44
PLUGIN_SONARQUBE_VER =3.4.0.2513
45
- PLUGIN_NEXUS_STAGING_VER = 0.30 .0
45
+ PLUGIN_NEXUS_PUBLISH_VER = 1.1 .0
46
46
PLUGIN_GOOGLE_JAVA_FORMAT_VER =0.9
You can’t perform that action at this time.
0 commit comments