Skip to content

Commit d947e33

Browse files
committed
Fix Maven credentials parsing
Signed-off-by: iglée42 <igleev2@gmail.com>
1 parent ecde992 commit d947e33

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,8 @@ publishing {
205205
name = 'igleeRepo'
206206
url = "https://maven.iglee.fr/releases"
207207
credentials {
208-
username = providers.environmentVariable("MAVEN_USERNAME")
209-
password = providers.environmentVariable("MAVEN_PASSWORD")
210-
println(username)
211-
println(password)
208+
username = providers.environmentVariable("MAVEN_USERNAME").orNull
209+
password = providers.environmentVariable("MAVEN_PASSWORD").orNull
212210
}
213211
authentication {
214212
basic(BasicAuthentication)

0 commit comments

Comments
 (0)