gradle: update env vars to use underscores (#1287)

Provides better compatibility with /bin/sh, /bin/bash and the likes, which don't accept env vars with dashes in the name.
This commit is contained in:
ThatGamerBlue
2019-08-08 21:35:57 +01:00
committed by GitHub
parent d0699717a5
commit ca14485b2b

View File

@@ -79,8 +79,8 @@ subprojects {
uploadArchives {
repositories {
mavenDeployer {
repository(url: System.getenv("NEXUS-URL")) {
authentication(userName: System.getenv("NEXUS-USER"), password: System.getenv("NEXUS-PASSWORD"))
repository(url: System.getenv("NEXUS_URL")) {
authentication(userName: System.getenv("NEXUS_USER"), password: System.getenv("NEXUS_PASSWORD"))
}
}
}