File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ if (secretPropsFile.exists()) {
13
13
p. each { name , value -> ext[name] = value }
14
14
} else {
15
15
// Use system environment variables
16
- ext[" ossrhUsername" ] = System . getenv(' CENTRAL_USERNAME' )
17
- ext[" ossrhPassword" ] = System . getenv(' CENTRAL_PASSWORD' )
16
+ ext[" ossrhUsername" ] = System . getenv(' OSSRH_USERNAME' )
17
+ ext[" ossrhPassword" ] = System . getenv(' OSSRH_PASSWORD' )
18
+ ext[" centralUsername" ] = System . getenv(' CENTRAL_USERNAME' )
19
+ ext[" centralPassword" ] = System . getenv(' CENTRAL_PASSWORD' )
18
20
ext[" signing.keyId" ] = System . getenv(' SIGNING_KEY_ID' )
19
21
ext[" signing.password" ] = System . getenv(' SIGNING_PASSWORD' )
20
22
ext[" signing.key" ] = System . getenv(' SIGNING_KEY' )
Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ afterEvaluate {
71
71
repositories {
72
72
maven {
73
73
credentials {
74
- username ossrhUsername
75
- password ossrhPassword
74
+ username centralUsername
75
+ password centralPassword
76
76
}
77
77
78
78
def releasesRepoUrl = " https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
You can’t perform that action at this time.
0 commit comments