Skip to content

Commit

Permalink
Version 1.9-1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hea3ven committed May 12, 2016
1 parent 5426ca7 commit 03aa082
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 43 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.9-1.2.2:
* Update to java 8.
* Update to Forge 12.16.1.1894.
* Fix the bed placement tracking not persisting through restarts.

1.9-1.2.1:
* Update to Forge 12.16.0.1811.

Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ Hard Mode Tweaks is a compilation of gameplay modifications, mainly around playi

## Download

MediaFire: [Hard Mode Tweaks 1.9-1.2.1](http://www.mediafire.com/download/y16nh5yjlj61z5j/HardModeTweaks-1.9-1.2.1.jar)
Curse: [Hard Mode Tweaks 1.9-1.2.1](http://www.curse.com/mc-mods/Minecraft/231325-hard-mode-tweaks/2290303)
Curse: [Hard Mode Tweaks](http://mods.curse.com/mc-mods/minecraft/231325-hard-mode-tweaks)

## Installation

1. Install Forge.
2. Copy the "hardmodetweaks-1.1.4.jar" file to the "mods" folder.
2. Copy the "hardmodetweaks-*.jar" file to the "mods" folder.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies {
release "com.hea3ven.tools.asmtweaks:h3nt-asmtweaks:${version_asmtweaks}"

// compile project(':CommonUtils')
compile "com.hea3ven.tools.commonutils:h3nt-commonutils:${version_commonutils}:deobf"
deobfCompile "com.hea3ven.tools.commonutils:h3nt-commonutils:${version_commonutils}"
release "com.hea3ven.tools.commonutils:h3nt-commonutils:${version_commonutils}"
}

Expand Down
16 changes: 8 additions & 8 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project_group=com.hea3ven.hardmodetweaks
project_name=HardModeTweaks
project_display_name=Hard Mode Tweaks
project_version=1.2.1
project_version=1.2.2
project_class=com.hea3ven.hardmodetweaks.ModHardModeTweaks
project_repo=hea3ven/HardModeTweaks
project_repo_branch=master
Expand All @@ -14,13 +14,13 @@ project_bootstrap_file=assets/hardmodetweaks/bootstrap.json
project_coremod=com.hea3ven.hardmodetweaks.core.LoadingPluginHardModeTweaks

version_mc=1.9
version_forge=12.16.0.1860
version_forge_branch=1.9
version_mappings=snapshot_20160419
version_forge=12.16.1.1894
# version_forge_branch=1.9
version_mappings=snapshot_20160508

version_h3nt_mappings=1.1.0
version_h3nt_mappings=1.1.1
version_h3nt_mappings_pattern=1.1.x
version_asmtweaks=1.1.0
version_asmtweaks=1.1.1
version_asmtweaks_pattern=1.1.x
version_commonutils=2.1.1
version_commonutils_pattern=2.1.x
version_commonutils=2.2.0
version_commonutils_pattern=2.2.x
32 changes: 5 additions & 27 deletions mcbuild.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// Hea3veN's build script for minecraft mods
// v1.0.7 (2016-05-09):
// * Remove the code to update the README
// v1.0.6 (2016-05-05):
// * Update to java 8
// v1.0.5 (2016-03-08):
// * Add the FMLCorePluginContainsFMLMod attribute to the manifest if there is a coremod
// * Add version replacement for kotlin projects
Expand Down Expand Up @@ -272,30 +276,7 @@ class Changelog {
}
}

task updateReadme(dependsOn: 'curseforge') << {
def mediafireUrl = System.console().readLine('> enter mediafire url: ')
def curseFileId = System.console().readLine('> enter curse file id: ')

new File(project.projectDir, 'README.md.tmp').withWriter { w ->
new File(project.projectDir, 'README.md').eachLine { line ->
if (line.contains('www.mediafire.com')) {
line = String.
format("MediaFire: [%s %s](%s)", project_display_name, project.version, mediafireUrl)
} else if (line.contains('www.curse.com')) {
line = String.
format("Curse: [%s %s](http://www.curse.com/mc-mods/Minecraft/%s-%s/%s)",
project_display_name, project.version, project_curseforge_id,
project_curseforge_name_id, curseFileId)
}
w << line + "\n"
}
}

new File(project.projectDir, "README.md").delete()
new File(project.projectDir, "README.md.tmp").renameTo(new File(project.projectDir, "README.md"))
}

task commitRelease(dependsOn: updateReadme) << {
task commitRelease(dependsOn: 'curseforge') << {
def repo = Grgit.open(file("."))
repo.commit(message: 'Version ' + project.version, all: true)
}
Expand All @@ -307,9 +288,6 @@ task pushRelease(type: Exec, dependsOn: commitRelease) {
def readCurrentDownloads() {
def downloads = '\n'
new File(project.projectDir, "README.md").eachLine { line ->
if (line.contains('www.mediafire.com')) {
downloads = line + downloads
}
if (line.contains('www.curse.com')) {
downloads = downloads + line
}
Expand Down
9 changes: 5 additions & 4 deletions media/update.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@
"1.9": {
"1.9-1.2.0": " * Remove the food healing mechanic and replace it with regeneration that consumes a lot more saturation/hunger.\n * Update to minecraft 1.8.9.",
"1.9-1.2.1": " * Update to Forge 12.16.0.1811.",
"commit": "3f32961bd8519e43b683580cbf37c2f99758e451"
"commit": "5426ca718280631c2cfa36b73af39a74c09b3d3a",
"1.9-1.2.2": " * Update to java 8.\n * Update to Forge 12.16.1.1894.\n * Fix the bed placement tracking not persisting through restarts."
},
"promos": {
"1.8-latest": "1.1.4",
"1.7.10-latest": "1.8.8-1.1.4",
"1.9-latest": "1.9-1.2.1",
"1.9-latest": "1.9-1.2.2",
"1.7.10-recommended": "1.8.8-1.1.4",
"1.8-recommended": "1.1.4",
"1.9-recommended": "1.9-1.2.1"
"1.9-recommended": "1.9-1.2.2"
},
"homepage": "https://github.com/hea3ven/HardModeTweaks"
}
}

0 comments on commit 03aa082

Please sign in to comment.