Fix changelog and display name

This commit is contained in:
tterrag1098
2017-05-30 01:32:32 -04:00
parent 0fa500ef34
commit fc7cafa6f8
2 changed files with 13 additions and 5 deletions

View File

@@ -13,7 +13,11 @@ plugins {
apply plugin: 'net.minecraftforge.gradle.forge'
boolean dev = System.getenv('RELEASE') == null || System.getenv('RELEASE').equals('false');
<<<<<<< Updated upstream
ext.buildnumber = System.getenv().BUILD_NUMBER ?: 'custom';
=======
ext.buildnumber = System.getenv().BUILD_NUMBER ?: 'custom'
>>>>>>> Stashed changes
group = 'com.tterrag.blur'
archivesBaseName = "Blur"
@@ -99,7 +103,7 @@ task createResourcePacks {
// tasks.build.dependsOn createResourcePacks
tasks.curseforge.enabled = !dev && project.hasProperty('curseforge_key')
curseforge {
if (project.hasProperty('curseforge_key')) {
apiKey = project.curseforge_key
@@ -107,13 +111,17 @@ curseforge {
project {
id = project.project_id
changelog = System.getenv('CHANGELOG') == null || System.getenv('CHANGELOG').equals('none') ? getChangelog() : System.getenv('CHANGELOG')
changelogType = 'text'
changelogType = 'html'
changelog = System.getenv('CHANGELOG')
if (changelog == null || 'none'.equals(changelog)) {
changelog = getChangelog()
changelogType = 'text'
}
releaseType = project.release_type
addGameVersion '1.9.4'
addGameVersion '1.11.2'
mainArtifact(jar) {
displayName = "Blur ${version}"
displayName = "Blur ${mod_version}"
}
}
}