Some quality of life changes

This commit is contained in:
Sollace 2021-12-04 19:10:26 +02:00
parent 06da7338b1
commit 0226a5adc4

View file

@ -122,6 +122,8 @@ task publishModrinth (type: TaskModrinthUpload){
token = System.env.MODRINTH_KEY token = System.env.MODRINTH_KEY
projectId = project.modrinth_project_id projectId = project.modrinth_project_id
versionNumber = version.toString() versionNumber = version.toString()
versionName = archivesBaseName + '-' + version
changelog = "[Changelog](https://github.com/MineLittlePony/MineLittlePony/releases/tag/${version.toString()})"
uploadFile = jar.outputs.getFiles().asPath // This is the java jar task uploadFile = jar.outputs.getFiles().asPath // This is the java jar task
addLoader(project.modrinth_loader_type) addLoader(project.modrinth_loader_type)
outlet.mcVersions().each{ver -> outlet.mcVersions().each{ver ->