fix publishing for users with no credentials
This commit is contained in:
parent
ef436ac9b7
commit
620b39b22d
@ -85,10 +85,12 @@ publishing {
|
|||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
|
if (DIST_USERNAME != null && DIST_PASSWORD != null) {
|
||||||
credentials {
|
credentials {
|
||||||
username DIST_USERNAME
|
username DIST_USERNAME
|
||||||
password DIST_PASSWORD
|
password DIST_PASSWORD
|
||||||
}
|
}
|
||||||
|
}
|
||||||
url = uri("https://repo.pyr.lol/releases/")
|
url = uri("https://repo.pyr.lol/releases/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user