mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 12:37:59 +01:00
Bah
This commit is contained in:
parent
778630c6b5
commit
2bb8f7f8ce
1 changed files with 9 additions and 19 deletions
28
build.gradle
28
build.gradle
|
@ -12,35 +12,25 @@ minecraft {
|
||||||
version = "1.8"
|
version = "1.8"
|
||||||
mappings = 'snapshot_20151027'
|
mappings = 'snapshot_20151027'
|
||||||
runDir = 'run'
|
runDir = 'run'
|
||||||
tweakClass = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
|
||||||
replace '@VERSION@',project.version
|
replace '@VERSION@',project.version
|
||||||
|
tweakClass = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
||||||
|
clientJvmArgs += '-Dmcpenv=true'
|
||||||
}
|
}
|
||||||
project('common') {
|
project('common') {
|
||||||
apply plugin: 'java'
|
apply plugin: 'net.minecraftforge.gradle.tweaker-client'
|
||||||
apply plugin: 'eclipse'
|
minecraft {
|
||||||
|
version = rootProject.minecraft.version
|
||||||
sourceCompatibility = 1.6
|
mappings = rootProject.minecraft.mappings
|
||||||
targetCompatibility = 1.6
|
runDir = rootProject.minecraft.runDir
|
||||||
|
tweakClass = rootProject.minecraft.tweakClass
|
||||||
sourceSets.main {
|
|
||||||
compileClasspath += rootProject.configurations.forgeGradleMc
|
|
||||||
}
|
}
|
||||||
eclipse.classpath.file.withXml {
|
|
||||||
def path = "$gradle.gradleUserHomeDir/caches/minecraft/net/minecraft/minecraft/$minecraft.version/${minecraft.mappings.replace('_','/')}/minecraftSrc-$minecraft.version"
|
|
||||||
it.asNode().appendNode('classpathentry',[
|
|
||||||
kind: "lib",
|
|
||||||
path: "${path}.jar",
|
|
||||||
sourcepath:"$path-sources.jar"
|
|
||||||
])
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
project('forge') {
|
project('forge') {
|
||||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
minecraft {
|
minecraft {
|
||||||
version = '1.8-11.14.3.1543'
|
version = '1.8-11.14.3.1543'
|
||||||
mappings = rootProject.minecraft.mappings
|
mappings = rootProject.minecraft.mappings
|
||||||
runDir = '../run'
|
runDir = rootProject.minecraft.runDir
|
||||||
replace '@VERSION@',project.version
|
replace '@VERSION@',project.version
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
Loading…
Reference in a new issue