From 68ac2fb39bbf04716bb77a2bd564573f6a0852fd Mon Sep 17 00:00:00 2001 From: Joel Dickson <9032274+joeldickson@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:58:36 +0700 Subject: [PATCH] Update build.gradle Signed-off-by: Joel Dickson <9032274+joeldickson@users.noreply.github.com> --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 1f64d0c..0ecf5a5 100644 --- a/build.gradle +++ b/build.gradle @@ -66,8 +66,8 @@ publishing { def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots" url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl credentials { - username = System.getenv("MAVEN_USERNAME") ?: ossrhUsername - password = System.getenv("MAVEN_PASSWORD") ?: ossrhPassword + username = System.getenv("MAVEN_USERNAME") ?: "" + password = System.getenv("MAVEN_PASSWORD") ?: "" } } } @@ -86,4 +86,4 @@ javadoc { if(JavaVersion.current().isJava9Compatible()) { options.addBooleanOption('html5', true) } -} \ No newline at end of file +}