File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- ext[" ossrhUsername " ] = ' '
2
- ext[" ossrhPassword " ] = ' '
1
+ ext[" ossrhToken " ] = ' '
2
+ ext[" ossrhTokenPassword " ] = ' '
3
3
ext[" sonatypeStagingProfileId" ] = ' '
4
4
ext[" signing.keyId" ] = ' '
5
5
ext[" signing.password" ] = ' '
@@ -11,8 +11,8 @@ if (secretPropsFile.exists()) {
11
11
new FileInputStream (secretPropsFile). withCloseable { is -> p. load(is) }
12
12
p. each { name , value -> ext[name] = value }
13
13
} else {
14
- ext[" ossrhUsername " ] = System . getenv(' OSSRH_USERNAME ' )
15
- ext[" ossrhPassword " ] = System . getenv(' OSSRH_PASSWORD ' )
14
+ ext[" ossrhToken " ] = System . getenv(' OSSRH_TOKEN ' )
15
+ ext[" ossrhTokenPassword " ] = System . getenv(' OSSRH_TOKEN_PASSWORD ' )
16
16
ext[" sonatypeStagingProfileId" ] = System . getenv(' SONATYPE_STAGING_PROFILE_ID' )
17
17
ext[" signing.keyId" ] = System . getenv(' SIGNING_KEY_ID' )
18
18
ext[" signing.password" ] = System . getenv(' SIGNING_PASSWORD' )
@@ -23,8 +23,8 @@ nexusPublishing {
23
23
repositories {
24
24
sonatype {
25
25
stagingProfileId = sonatypeStagingProfileId
26
- username = ossrhUsername
27
- password = ossrhPassword
26
+ username = ossrhToken
27
+ password = ossrhTokenPassword
28
28
}
29
29
}
30
30
}
You can’t perform that action at this time.
0 commit comments