1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-04 15:29:58 +00:00

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

View File

@ -472,7 +472,7 @@ tasks.register('publishModrinth', TaskModrinthUpload.class).configure {
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