Skip to content

Commit

Permalink
Added curseforge plugin and change log.
Browse files Browse the repository at this point in the history
Hopefully it works.
  • Loading branch information
Vexatos committed Dec 11, 2017
1 parent b2cde19 commit ed6fe13
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 3 deletions.
23 changes: 20 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ buildscript {
}
}

plugins {
id "com.matthewprenger.cursegradle" version "1.0.9"
}

apply plugin: 'scala'
apply plugin: 'forge'
apply plugin: 'idea'
Expand Down Expand Up @@ -43,10 +47,11 @@ def getGitRef() {
}
}

if (System.getenv("BUILD_NUMBER") != null)
if (System.getenv("PROMOTED_NUMBER") != null)
version += ".${System.getenv("PROMOTED_NUMBER")}"
else if (System.getenv("BUILD_NUMBER") != null)
version += ".${System.getenv("BUILD_NUMBER")}"

if (System.getenv("BUILD_NUMBER") == null)
else
version += "+" + getGitRef()

ext.simpleVersion = version
Expand Down Expand Up @@ -334,6 +339,18 @@ publishing {
}
}

curseforge {
apiKey = project.hasProperty("curseForgeApiKey") ? project.curseForgeApiKey : ""
project {
id = config.curse.project.id
releaseType = config.curse.project.releaseType
changelogType = "markdown"
changelog = file("changelog.md")
addGameVersion config.minecraft.version
addGameVersion "Java 8"
}
}

// this is needed for IntelliJ so we don't have to copy over the assets manually every time
idea {
module {
Expand Down
3 changes: 3 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ cofhcore.cf=2246/697
cofhcore.version=[1.7.10]3.0.3B4-302-dev

maven.url=file:///home/www/maven.cil.li/web

curse.project.id=223008
curse.project.releaseType=release
39 changes: 39 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
## New Features/Support
* **Changed: Diamond Chip recipe**
- You now require cutting wire to cut the diamond.
* Fixed: IC2-Classic mod incompatibility
* Added: Allow getting yaw of player through tablet component (ChristoCoder)
* Fixed: Microcontroller interactions with EnderIO item conduits
* Added: Maximum packet parts to device info of modems (Linked and Network Cards)
* Fixed: Drones now properly work with chunkloader upgrades (TheCodex6824)
* Fixed: Tablets not turning off their screen properly (AmandaCameron)
* Fixed: Motion Sensor line of sight
* Misc: Updated various translations
- Russian (S0ZDATEL, Fingercomp, makkarpov)
- Traditional Chinese (mymagadsl)
- German (Nex4rius)

## OpenOS fixes/improvements
* Fixed: Issues with booting OpenOS on very slow servers
* Added: Allow custom error objects to print to stderr
* Added: Allow mount points to use existing directories
* Added: Bind mounts to mount a directory as another directory
* Fixed: Allow .shrc to use tty stdin
* **Added: Lua REPL input is now parsed with an implicit `return`** (SquidDev)
- Adding a `=` in front of the code to explicitly add it still works.
* Changed: Shell history no longer adds items if they are duplicates (SquidDev)
* Fixed: CTCP messages in IRC client (Michiyo, skyem123)
* Fixed: Reverse lookup of keys in Keyboard API
* Fixed: event.cancel and event.ignore
* Fixed: Protect lua shell from serialization OOM failure
* Fixed: Too long without yielding error in /bin/tree (LeshaInc)
* Misc: Improvements to the vt100 library
* Misc: Various minor improvements to reduce memory usage

## List of contributors
payonel, Vexatos,
S0ZDATEL, Fingercomp, makkarpov,
mymagadsl, Nex4rius, ChristoCoder,
LeshaInc, SquidDev, Michiyo,
skyem123, TheCodex6824,
AmandaCameron, Pwootage

0 comments on commit ed6fe13

Please sign in to comment.