From 9591905a22e0ef0fb86af2b48ade9aa8b3ce17f3 Mon Sep 17 00:00:00 2001 From: Crystal Spider Date: Thu, 28 Mar 2024 17:45:37 +0100 Subject: [PATCH] Update build.gradle --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index ca32f3b..4d761a6 100644 --- a/build.gradle +++ b/build.gradle @@ -115,7 +115,7 @@ subprojects { subproject -> def noPublish = loader == "common" githubRelease { - token = providers.environmentVariable("GITHUB_TOKEN") + token = System.getenv("GITHUB_TOKEN") owner = github_user repo = mod_id_kebab tagName = "v${minecraft_version}-${mod_version}" @@ -132,7 +132,7 @@ subprojects { subproject -> } modrinth { - token = providers.environmentVariable("MODRINTH_TOKEN") + token = System.getenv("MODRINTH_TOKEN") projectId = mod_id_kebab versionNumber = mod_version versionName = "[${loader} - ${minecraft_version}] ${mod_title} v${mod_version}" @@ -156,7 +156,7 @@ subprojects { subproject -> } curseforge { - apiKey = providers.environmentVariable("CURSEFORGE_TOKEN") + apiKey = System.getenv("CURSEFORGE_TOKEN") project { id = curseforge_id changelogType = "markdown"