Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 52c6ad7

Browse files
committed
Find username and password props
1 parent c07ead7 commit 52c6ad7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ossrh-publishing.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ uploadArchives {
3838
mavenDeployer {
3939
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
4040

41+
def ossrhUsername = findProperty('ossrhUsername')
42+
def ossrhPassword = findProperty('ossrhPassword')
43+
4144
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
4245
authentication(userName: ossrhUsername, password: ossrhPassword)
4346
}

0 commit comments

Comments
 (0)