Skip to content

Commit

Permalink
Fix building without CF token
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Nov 30, 2021
1 parent 9c9259b commit 8df4ee3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ publishing {
}

curseforge {
if (project.hasProperty('curse_key') != null) {
apiKey = project.findProperty('curse_key')
}
apiKey = project.findProperty('curse_key') ?: ""

if (project.hasProperty('curseforge_id')) {
project {
Expand Down

0 comments on commit 8df4ee3

Please sign in to comment.