From f44b5972f3bcbe59709a0f77547ea014c7fbc46f Mon Sep 17 00:00:00 2001 From: Paint_Ninja Date: Thu, 9 May 2024 20:54:12 +0100 Subject: [PATCH] Fix build publishing --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 84a9dc58c..6ed0c7be7 100644 --- a/build.gradle +++ b/build.gradle @@ -35,6 +35,7 @@ group = 'net.minecraftforge' archivesBaseName = 'mixins' version = buildVersion + "+mixin." + upstreamMixinVersion +println "Version: $version" def ENV = System.getenv() //if (!ENV.CI) { @@ -555,6 +556,10 @@ publishing { maven { name = 'Forge' url = 'https://maven.minecraftforge.net' + credentials { + username = ENV.MAVEN_USER ?: '' + password = ENV.MAVEN_PASSWORD ?: '' + } } if (ENV.MAVEN_URL) {