From ca14485b2b07f2e7966694804902d59a6ed5c306 Mon Sep 17 00:00:00 2001 From: ThatGamerBlue Date: Thu, 8 Aug 2019 21:35:57 +0100 Subject: [PATCH] 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. --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 3ccf2b7c9d..7e420555b7 100644 --- a/build.gradle +++ b/build.gradle @@ -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")) } } }