mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-29 21:02:59 +00:00
And there was me thinking I understood Gradle
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user