Skip to content

Commit

Permalink
Support Minecraft 1.11.2, closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
simon816 committed Mar 23, 2017
1 parent ce3ab7d commit 54b5fc1
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,28 @@ apply plugin: 'eclipse'
sourceCompatibility = '1.6'
targetCompatibility = '1.6'

version = '0.2.0'
version = '0.3.0'

repositories {
mavenCentral()
maven {
name = 'minecraft'
url = 'https://libraries.minecraft.net/'
}
}

configurations {
buildOnly
maven {
name = 'forge'
url = 'http://files.minecraftforge.net/maven/'
}
}

dependencies {
compile 'net.minecraft:launchwrapper:1.12'
compile 'org.apache.logging.log4j:log4j-core:2.0-beta9'
compile 'net.minecraftforge:forge:1.11.2-13.20.0.2228:universal'
// TODO Fix this
buildOnly files('C:/Users/Simon/.gradle/caches/minecraft/net/minecraftforge/forge/1.8.9-11.15.1.1808/stable/22/forgeBin-1.8.9-11.15.1.1808.jar')
compile files('C:/Users/Simon/.gradle/caches/minecraft/net/minecraftforge/forge/1.8.9-11.15.1.1808/start')
compile files('C:/Users/Simon/.gradle/caches/minecraft/net/minecraftforge/forge/1.11.2-13.20.0.2227/start')
}

sourceSets.main.compileClasspath += [ configurations.buildOnly ]

jar {
manifest {
attributes(
Expand All @@ -37,6 +35,7 @@ jar {
+ " minecraft_server.1.8.9.jar"
+ " minecraft_server.1.10.2.jar"
+ " minecraft_server.1.11.jar"
+ " minecraft_server.1.11.2.jar"
)
}
}

0 comments on commit 54b5fc1

Please sign in to comment.