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"
|
||||
mappings = 'snapshot_20151027'
|
||||
runDir = 'run'
|
||||
tweakClass = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
||||
replace '@VERSION@',project.version
|
||||
tweakClass = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
||||
clientJvmArgs += '-Dmcpenv=true'
|
||||
}
|
||||
project('common') {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
sourceCompatibility = 1.6
|
||||
targetCompatibility = 1.6
|
||||
|
||||
sourceSets.main {
|
||||
compileClasspath += rootProject.configurations.forgeGradleMc
|
||||
apply plugin: 'net.minecraftforge.gradle.tweaker-client'
|
||||
minecraft {
|
||||
version = rootProject.minecraft.version
|
||||
mappings = rootProject.minecraft.mappings
|
||||
runDir = rootProject.minecraft.runDir
|
||||
tweakClass = rootProject.minecraft.tweakClass
|
||||
}
|
||||
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') {
|
||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||
minecraft {
|
||||
version = '1.8-11.14.3.1543'
|
||||
mappings = rootProject.minecraft.mappings
|
||||
runDir = '../run'
|
||||
runDir = rootProject.minecraft.runDir
|
||||
replace '@VERSION@',project.version
|
||||
}
|
||||
dependencies {
|
||||
|
|
Loading…
Reference in a new issue