Skip to content

Commit

Permalink
Use api tokens in build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name committed Jan 16, 2025
1 parent 036e7bc commit 0aace40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ publishMods {

// CurseForge options used by both Fabric and Forge
def cfOptions = curseforgeOptions {
accessToken = providers.environmentVariable("CURSEFORGE_TOKEN")
accessToken = providers.environmentVariable("CURSEFORGE_API_KEY")
projectId = "1179548"

if (project.hasProperty('minecraft_version_range_start') && project.hasProperty('minecraft_version_range_end')) {
Expand All @@ -119,7 +119,7 @@ publishMods {

// Modrinth options used by both Fabric and Forge
def mrOptions = modrinthOptions {
accessToken = providers.environmentVariable("MODRINTH_TOKEN")
accessToken = providers.environmentVariable("MODRINTH_API_KEY")
projectId = "gRMQvlnJ"


Expand Down

0 comments on commit 0aace40

Please sign in to comment.