Skip to content

Commit 06640bb

Browse files
authored
Fix for 'unknown property ossrhUsername' (vavr-io#2700)
1 parent 000a4b4 commit 06640bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ signing {
182182
nexusPublishing {
183183
repositories {
184184
sonatype {
185-
username.set(ossrhUsername)
186-
password.set(ossrhPassword)
185+
username.set(providers.systemProperty("ossrhUsername").orElse("").forUseAtConfigurationTime())
186+
password.set(providers.systemProperty("ossrhPassword").orElse("").forUseAtConfigurationTime())
187187
}
188188
}
189189
}

0 commit comments

Comments
 (0)