Skip to content

Commit c9409c0

Browse files
author
ShinkoNet
authored
Support to Minecraft 1.11.
1 parent ebcebe0 commit c9409c0

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

build.gradle

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,35 @@
1-
2-
// For those who want the bleeding edge
31
buildscript {
42
repositories {
53
jcenter()
6-
maven {
7-
name = "forge"
8-
url = "http://files.minecraftforge.net/maven"
9-
}
4+
maven { url = "http://files.minecraftforge.net/maven" }
105
}
116
dependencies {
127
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
138
}
149
}
1510
apply plugin: 'net.minecraftforge.gradle.forge'
11+
//Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.
12+
1613

17-
/*
18-
// for people who want stable - not yet functional for MC 1.8.8 - we require the forgegradle 2.1 snapshot
19-
plugins {
20-
id "net.minecraftforge.gradle.forge" version "2.0.2"
21-
}
22-
*/
2314
version = "1.0"
2415
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
2516
archivesBaseName = "modid"
2617

18+
sourceCompatibility = targetCompatibility = "1.6" // Need this here so eclipse task generates correctly.
19+
compileJava {
20+
sourceCompatibility = targetCompatibility = "1.6"
21+
}
22+
2723
minecraft {
28-
version = "1.10.2-12.18.1.2011"
24+
version = "1.11-13.19.0.2162"
2925
runDir = "run"
3026

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

0 commit comments

Comments
 (0)