Skip to content

Commit

Permalink
hopefully last time ill have to fix this x2
Browse files Browse the repository at this point in the history
  • Loading branch information
AnAwesomGuy committed May 13, 2024
1 parent ffbe493 commit c3fb1bf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,16 @@ publishMods {
}

def modrinthOptions = modrinthOptions {
accessToken = providers.environmentVariable('$MODRINTH_TOKEN')
dryRun = accessToken.present
def token = providers.environmentVariable('$MODRINTH_TOKEN')
accessToken = token
dryRun = token.present
projectId = modrinth_id
}

def curseOptions = curseforgeOptions {
accessToken = providers.environmentVariable('$CURSEFORGE_TOKEN')
dryRun = accessToken.present
def token = providers.environmentVariable('$CURSEFORGE_TOKEN')
accessToken = token
dryRun = token.present
projectId = curseforge_id
clientRequired = true
serverRequired = true
Expand Down

0 comments on commit c3fb1bf

Please sign in to comment.