Skip to content

Commit

Permalink
Updating to new forge
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveyBiggers committed Jun 6, 2017
1 parent 2d2ff49 commit a1c8744
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 5 additions & 11 deletions Minecraft/build.gradle
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
import org.gradle.internal.os.OperatingSystem;
/*

// For those who want the bleeding edge
buildscript {
repositories {
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.0-SNAPSHOT'
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
*/

// for people who want stable
plugins {
id "net.minecraftforge.gradle.forge" version "2.0.1"
}

// Read the version number from the Mod's version properties file.
if (!file('src/main/resources/version.properties').exists()) {
Expand All @@ -34,16 +28,16 @@ group= "com.microsoft.MalmoMod" // http://maven.apache.org/guides/mini/guide-nam
archivesBaseName = "MalmoMod"

minecraft {
version = "1.8-11.14.3.1543"
version = "1.11.2-13.20.0.2228"
runDir = "run"

// the mappings can be changed at any time, and must be in the following format.
// snapshot_YYYYMMDD snapshot are built nightly.
// stable_# stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not allways work.
// simply re-run your setup task after changing the mappings to update your workspace.
mappings = "snapshot_20141130"
makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
mappings = "snapshot_20161220"
//makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.

afterEvaluate {
// At this point, we can extract the command line used to run minecraft, and save it into
Expand Down
2 changes: 1 addition & 1 deletion Minecraft/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.11-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip

0 comments on commit a1c8744

Please sign in to comment.