diff --git a/.gitignore b/.gitignore
index e0cc2c9f..7264bfa3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,7 +39,6 @@ libs
#config I assume you want to keep your minecraft config and world out
#world this is taken care of with the run folder up at runtime you are actually removing the packages
-*.txt
*.json
/server.properties
*.dat
diff --git a/build.gradle b/build.gradle
index 0ee5217c..91bf49ed 100644
--- a/build.gradle
+++ b/build.gradle
@@ -14,12 +14,14 @@ buildscript {
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
classpath 'org.ajoberstar:gradle-git:0.10.1'
}
+}
+plugins {
+ id 'com.matthewprenger.cursegradle' version '1.0.2'
}
apply plugin: 'forge'
apply plugin: 'maven-publish'
-apply plugin: 'curseforge'
import org.ajoberstar.grgit.Grgit
@@ -159,7 +161,7 @@ publishing {
println('Changelog:\n' + getChangelogText())
String getChangelogText() {
- def changelogFile = new File('changelog')
+ def changelogFile = file('changelog.txt')
String str = ''
int lineCount = 0
boolean done = false
@@ -168,8 +170,15 @@ String getChangelogText() {
return
}
if (it.size() > 1) {
- def temp = "$it" + (lineCount == 0 ? '
' : '
')
- str += (it.startsWith('-') ? '' : '
') + "$temp"
+ def temp = it
+ if (lineCount == 0) {
+ temp = "