Skip to content

Commit ed6fe13

Browse files
committed
Added curseforge plugin and change log.
Hopefully it works.
1 parent b2cde19 commit ed6fe13

File tree

3 files changed

+62
-3
lines changed

3 files changed

+62
-3
lines changed

build.gradle

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ buildscript {
1515
}
1616
}
1717

18+
plugins {
19+
id "com.matthewprenger.cursegradle" version "1.0.9"
20+
}
21+
1822
apply plugin: 'scala'
1923
apply plugin: 'forge'
2024
apply plugin: 'idea'
@@ -43,10 +47,11 @@ def getGitRef() {
4347
}
4448
}
4549

46-
if (System.getenv("BUILD_NUMBER") != null)
50+
if (System.getenv("PROMOTED_NUMBER") != null)
51+
version += ".${System.getenv("PROMOTED_NUMBER")}"
52+
else if (System.getenv("BUILD_NUMBER") != null)
4753
version += ".${System.getenv("BUILD_NUMBER")}"
48-
49-
if (System.getenv("BUILD_NUMBER") == null)
54+
else
5055
version += "+" + getGitRef()
5156

5257
ext.simpleVersion = version
@@ -334,6 +339,18 @@ publishing {
334339
}
335340
}
336341

342+
curseforge {
343+
apiKey = project.hasProperty("curseForgeApiKey") ? project.curseForgeApiKey : ""
344+
project {
345+
id = config.curse.project.id
346+
releaseType = config.curse.project.releaseType
347+
changelogType = "markdown"
348+
changelog = file("changelog.md")
349+
addGameVersion config.minecraft.version
350+
addGameVersion "Java 8"
351+
}
352+
}
353+
337354
// this is needed for IntelliJ so we don't have to copy over the assets manually every time
338355
idea {
339356
module {

build.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ cofhcore.cf=2246/697
5050
cofhcore.version=[1.7.10]3.0.3B4-302-dev
5151

5252
maven.url=file:///home/www/maven.cil.li/web
53+
54+
curse.project.id=223008
55+
curse.project.releaseType=release

changelog.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## New Features/Support
2+
* **Changed: Diamond Chip recipe**
3+
- You now require cutting wire to cut the diamond.
4+
* Fixed: IC2-Classic mod incompatibility
5+
* Added: Allow getting yaw of player through tablet component (ChristoCoder)
6+
* Fixed: Microcontroller interactions with EnderIO item conduits
7+
* Added: Maximum packet parts to device info of modems (Linked and Network Cards)
8+
* Fixed: Drones now properly work with chunkloader upgrades (TheCodex6824)
9+
* Fixed: Tablets not turning off their screen properly (AmandaCameron)
10+
* Fixed: Motion Sensor line of sight
11+
* Misc: Updated various translations
12+
- Russian (S0ZDATEL, Fingercomp, makkarpov)
13+
- Traditional Chinese (mymagadsl)
14+
- German (Nex4rius)
15+
16+
## OpenOS fixes/improvements
17+
* Fixed: Issues with booting OpenOS on very slow servers
18+
* Added: Allow custom error objects to print to stderr
19+
* Added: Allow mount points to use existing directories
20+
* Added: Bind mounts to mount a directory as another directory
21+
* Fixed: Allow .shrc to use tty stdin
22+
* **Added: Lua REPL input is now parsed with an implicit `return`** (SquidDev)
23+
- Adding a `=` in front of the code to explicitly add it still works.
24+
* Changed: Shell history no longer adds items if they are duplicates (SquidDev)
25+
* Fixed: CTCP messages in IRC client (Michiyo, skyem123)
26+
* Fixed: Reverse lookup of keys in Keyboard API
27+
* Fixed: event.cancel and event.ignore
28+
* Fixed: Protect lua shell from serialization OOM failure
29+
* Fixed: Too long without yielding error in /bin/tree (LeshaInc)
30+
* Misc: Improvements to the vt100 library
31+
* Misc: Various minor improvements to reduce memory usage
32+
33+
## List of contributors
34+
payonel, Vexatos,
35+
S0ZDATEL, Fingercomp, makkarpov,
36+
mymagadsl, Nex4rius, ChristoCoder,
37+
LeshaInc, SquidDev, Michiyo,
38+
skyem123, TheCodex6824,
39+
AmandaCameron, Pwootage

0 commit comments

Comments
 (0)