Couple of gradle fixes

This commit is contained in:
Jonathan Coates 2021-06-28 23:07:36 +01:00
parent 1650b72edb
commit 95b0d950aa
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
1 changed files with 2 additions and 2 deletions

View File

@ -472,7 +472,7 @@ task setupServer(type: Copy) {
project.hasProperty('modrinthApiKey')
}
token = project.hasProperty('curseForgeApiKey')
token = project.getProperty('modrinthApiKey')
projectId = 'gu7yAYhd'
versionNumber = project.mod_version
uploadFile = jar
@ -546,7 +546,7 @@ task setupServer(type: Copy) {
tagName "v${mc_version}-${mod_version}"
releaseName "[${mc_version}] ${mod_version}"
body.set(project.provider({
"## " + new File(projectDir, "src/main/resources/data/computercraft/lua/rom/help/whatsnew.txt")
"## " + new File(projectDir, "src/main/resources/data/computercraft/lua/rom/help/whatsnew.md")
.readLines()
.takeWhile { it != 'Type "help changelog" to see the full version history.' }
.join("\n").trim()