Skip to content

Commit 7fcc43a

Browse files
committed
Update build.gradle
1 parent 5a46f6b commit 7fcc43a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ uploadArchives {
4848
4949
5050
snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots') {
51-
authentication(userName: sonatypeUsername, password: sonatypePassword)
51+
authentication(userName: "$System.env.SONATYPE_USER", password: "$System.env.SONATYPE_PASS")
5252
}
5353
5454
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
55-
authentication(userName: sonatypeUsername, password: sonatypePassword)
55+
authentication(userName: "$System.env.SONATYPE_USER", password: "$System.env.SONATYPE_PASS")
5656
}
5757
5858
pom.project {
@@ -82,4 +82,4 @@ uploadArchives {
8282
}
8383
}
8484
}
85-
*/
85+
*/

0 commit comments

Comments
 (0)