From a03bda09a5760fdc9366cc486999d3898c50f205 Mon Sep 17 00:00:00 2001 From: johannesl Date: Thu, 16 Nov 2023 20:08:59 +0100 Subject: [PATCH] add files to .gitignore --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index cc1b0fdfa..ca229ff56 100644 --- a/build.gradle +++ b/build.gradle @@ -187,8 +187,8 @@ subprojects { repositories { maven { credentials { - username System.getenv("SONATYPE_NEXUS_USERNAME") - password System.getenv("SONATYPE_NEXUS_PASSWORD") + username System.hasProperty("SONATYPE_NEXUS_USERNAME") ? System.getProperty("SONATYPE_NEXUS_USERNAME") : System.getenv("SONATYPE_NEXUS_USERNAME") + password System.hasProperty("SONATYPE_NEXUS_PASSWORD") ? System.getProperty("SONATYPE_NEXUS_PASSWORD") : System.getenv("SONATYPE_NEXUS_PASSWORD") } def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"