File tree 2 files changed +7
-11
lines changed
2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ group = "org.hibernate.reactive"
13
13
version = project. projectVersion. fullName
14
14
15
15
ext {
16
- if ( ! project. hasProperty( ' sonatypeOssrhUser ' ) ) {
17
- sonatypeOssrhUser = null
16
+ if ( ! project. hasProperty( ' hibernatePublishUsername ' ) ) {
17
+ hibernatePublishUsername = null
18
18
}
19
- if ( ! project. hasProperty( ' sonatypeOssrhPassword ' ) ) {
20
- sonatypeOssrhPassword = null
19
+ if ( ! project. hasProperty( ' hibernatePublishPassword ' ) ) {
20
+ hibernatePublishPassword = null
21
21
}
22
22
}
23
23
@@ -41,12 +41,12 @@ ext {
41
41
42
42
// To release, see task ciRelease in release/build.gradle
43
43
// To publish on Sonatype (Maven Central):
44
- // ./gradlew publishToSonatype closeAndReleaseStagingRepository -PsonatypeOssrhUser ="<YOUR USERNAME>" -PsonatypeOssrhPassword ="<YOUR PASSWORD>"
44
+ // ./gradlew publishToSonatype closeAndReleaseStagingRepository -PhibernatePublishUsername ="<YOUR USERNAME>" -PhibernatePublishPassword ="<YOUR PASSWORD>"
45
45
nexusPublishing {
46
46
repositories {
47
47
sonatype {
48
- username = project. sonatypeOssrhUser
49
- password = project. sonatypeOssrhPassword
48
+ username = project. hibernatePublishUsername
49
+ password = project. hibernatePublishPassword
50
50
}
51
51
}
52
52
}
Original file line number Diff line number Diff line change @@ -39,11 +39,7 @@ pipeline {
39
39
sh '''./gradlew clean publish \
40
40
-PhibernatePublishUsername=$hibernatePublishUsername \
41
41
-PhibernatePublishPassword=$hibernatePublishPassword \
42
- -Pgradle.publish.key=$hibernatePluginPortalUsername \
43
- -Pgradle.publish.secret=$hibernatePluginPortalPassword \
44
42
--no-scan \
45
- -DsigningPassword=$SIGNING_PASS \
46
- -DsigningKeyFile=$SIGNING_KEYRING \
47
43
'''
48
44
}
49
45
}
You can’t perform that action at this time.
0 commit comments