From cb8b45dad0cbef0596094452d59fea2594d9f337 Mon Sep 17 00:00:00 2001 From: zontreck Date: Fri, 6 Sep 2024 03:16:59 -0700 Subject: [PATCH] update publishing section --- build.gradle | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index e4f4979..2e53e9a 100644 --- a/build.gradle +++ b/build.gradle @@ -44,8 +44,6 @@ dependencies { } -def MAVEN_PASSWORD_PROPERTY = "AriasCreationsMavenPassword" - publishing { publications { mavenJava(MavenPublication) { @@ -59,11 +57,10 @@ publishing { url = "https://git.zontreck.com/api/packages/AriasCreations/maven" name = "ariascreations" def ENV = System.getenv() - if (project.findProperty(MAVEN_PASSWORD_PROPERTY) != null) { - credentials { - username = ENV.MVN_USER - password = ENV.ACMVN - } + + credentials { + username = ENV.MVN_USER + password = ENV.ACMVN } } }