From 31d49e2cf9085792b13d0307d8e9aea0decba48b Mon Sep 17 00:00:00 2001 From: zontreck Date: Thu, 12 Sep 2024 01:38:45 -0700 Subject: [PATCH] Update to use environment variables in build env --- build.gradle | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index d74f1db..267e7fe 100644 --- a/build.gradle +++ b/build.gradle @@ -44,6 +44,9 @@ dependencies { } +def MAVEN_PASSWORD = "AriasCreationsMavenPassword" +def MAVEN_USER = "AriasCreationsMavenUser" + publishing { publications { mavenJava(MavenPublication) { @@ -52,14 +55,15 @@ publishing { artifact javadocJar } } + repositories { maven { url = "https://git.zontreck.com/api/packages/AriasCreations/maven" name = "ariascreations" credentials { - username = ENV.MVN_USER - password = ENV.ACMVN + username = project.findProperty(MAVEN_USER) + password = project.findProperty(MAVEN_PASSWORD) } } }