And there was me thinking I understood Gradle

This commit is contained in:
Jonathan Coates 2021-06-29 09:08:45 +00:00
parent 31d0b7afcd
commit 51dde077fe
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ task setupServer(type: Copy) {
project.hasProperty('modrinthApiKey') project.hasProperty('modrinthApiKey')
} }
token = project.getProperty('modrinthApiKey', "") token = project.hasProperty('modrinthApiKey') ? project.getProperty('modrinthApiKey') : ''
projectId = 'gu7yAYhd' projectId = 'gu7yAYhd'
versionNumber = "${project.mc_version}-${project.mod_version}" versionNumber = "${project.mc_version}-${project.mod_version}"
uploadFile = jar uploadFile = jar