mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-04 07:19:58 +00:00
And there was me thinking I understood Gradle
This commit is contained in:
parent
31d0b7afcd
commit
51dde077fe
@ -472,7 +472,7 @@ tasks.register('publishModrinth', TaskModrinthUpload.class).configure {
|
||||
project.hasProperty('modrinthApiKey')
|
||||
}
|
||||
|
||||
token = project.getProperty('modrinthApiKey', "")
|
||||
token = project.hasProperty('modrinthApiKey') ? project.getProperty('modrinthApiKey') : ''
|
||||
projectId = 'gu7yAYhd'
|
||||
versionNumber = "${project.mc_version}-${project.mod_version}"
|
||||
uploadFile = jar
|
||||
|
Loading…
Reference in New Issue
Block a user