matthewprenger / CurseGradle

Gradle plugin to upload Minecraft mods to CurseForge
MIT License
1 stars 1 forks source link

Store the file Id of the artifact. #25

Closed Wyn-Price closed 5 years ago

Wyn-Price commented 5 years ago

Allows users to access the curseforge file ID. Means that a user can create a task to access the file ID and do stuff with it. For my use, I created a task that uploads to curseforge then sends a webhook with the file url. At the moment, as the file ID isn't stored, I have to do some unnecessary hacks like getting the parentID on the additional artifacts. This would allow me to just reference the file ID and go from there.

Feel free to suggest any changes anywhere.