adding changelog to cursegradle config

This commit is contained in:
NikkyAI 2018-02-14 06:26:12 +01:00
parent f45cd7c9f7
commit 572c326f4c
2 changed files with 5 additions and 4 deletions

View File

@ -35,7 +35,7 @@ subprojects {
}
version = mc_version + "-" + mod_version
apply plugin: 'com.matthewprenger.cursegradle'
curseforge {
if (project.hasProperty('CURSEFORGE_API_TOKEN') && project.hasProperty('release')) {
@ -44,9 +44,10 @@ subprojects {
project {
id = '287323'
releaseType = 'beta'
if(project.hasProperty('changelog')) {
if(project.hasProperty('changelog_file')) {
println("changelog = $changelog_file")
changelogType = "markdown"
changelog = changelog
changelog = file(changelog_file)
}
relations {
requiredLibrary 'shadowfacts-forgelin'

View File

@ -1 +1 @@
mod_version = 1.2.4
mod_version = 1.2.4a