Last active
September 5, 2015 21:19
-
-
Save StillManic/a15c0c9e0b015a6d1add to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
maven { | |
name = "forge" | |
url = "http://files.minecraftforge.net/maven" | |
} | |
maven { | |
name = "sonatype" | |
url = "https://oss.sonatype.org/content/repositories/snapshots/" | |
} | |
} | |
dependencies { | |
classpath 'net.minecraftforge.gradle:ForgeGradle:2.0-SNAPSHOT' | |
} | |
} | |
//plugins { | |
// id "net.minecraftforge.gradle.forge" version "2.0.1" | |
//} | |
apply plugin: 'net.minecraftforge.gradle.forge' | |
version = "2.0.0" | |
group= "rcteam.rc2" | |
archivesBaseName = "Rollercoaster2" | |
minecraft { | |
version = "1.8-11.14.3.1512" | |
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. | |
} | |
dependencies { | |
// you may put jars on which you depend on in ./libs | |
// or you may define them like so.. | |
//compile "some.group:artifact:version:classifier" | |
//compile "some.group:artifact:version" | |
// real examples | |
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env | |
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env | |
// the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime. | |
//provided 'com.mod-buildcraft:buildcraft:6.0.8:dev' | |
// the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided, | |
// except that these dependencies get remapped to your current MCP mappings | |
//deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev' | |
//deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev' | |
// for more info... | |
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html | |
// http://www.gradle.org/docs/current/userguide/dependency_management.html | |
} | |
processResources { | |
// this will ensure that this task is redone when the versions change. | |
inputs.property "version", project.version | |
inputs.property "mcversion", project.minecraft.version | |
// replace stuff in mcmod.info, nothing else | |
from(sourceSets.main.resources.srcDirs) { | |
include 'mcmod.info' | |
// replace version and mcversion | |
expand 'version':project.version, 'mcversion':project.minecraft.version | |
} | |
// copy everything else, thats not the mcmod.info | |
from(sourceSets.main.resources.srcDirs) { | |
exclude 'mcmod.info' | |
} | |
} | |
compileJava { | |
sourceCompatibility = 1.8 | |
targetCompatibility = 1.8 | |
} | |
//task wrapper(type: Wrapper) { | |
// gradleVersion = '2.6' | |
//} | |
//idea.module.inheritOutputDirs = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gradlew setupDecompWorkspace | |
**************************** | |
Powered By MCP: | |
http://modcoderpack.com/ | |
Searge, ProfMobius, Fesh0r, | |
R4wk, ZeuX, IngisKahn, bspkrs | |
MCP Data version : 9.10 | |
**************************** | |
:deobfCompileDummyTask | |
:deobfProvidedDummyTask | |
:getVersionJson | |
:extractUserdev | |
Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.3.1512/forge-1.8-11.14.3.1512.pom | |
Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.3.1512/forge-1.8-11.14.3.1512-userdev.jar | |
:extractMcpData SKIPPED | |
:extractMcpMappings SKIPPED | |
:genSrgs SKIPPED | |
:downloadClient SKIPPED | |
:downloadServer SKIPPED | |
:splitServerJar SKIPPED | |
:mergeJars SKIPPED | |
:deobfMcSRG | |
Applying SpecialSource... | |
Applying Exceptor... | |
:getFernFlower SKIPPED | |
:decompileMc | |
:fixMcSources | |
:applySourcePatches | |
:remapMcSources | |
:recompileMc | |
[ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 | |
[ant:javac] Note: Some input files use or override a deprecated API. | |
[ant:javac] Note: Recompile with -Xlint:deprecation for details. | |
[ant:javac] Note: Some input files use unchecked or unsafe operations. | |
[ant:javac] Note: Recompile with -Xlint:unchecked for details. | |
[ant:javac] 1 warning | |
:extractNatives SKIPPED | |
:getAssetIndex UP-TO-DATE | |
:getAssets | |
Current status: 202/734 27% | |
Current status: 324/734 44% | |
Current status: 416/734 56% | |
Current status: 490/734 66% | |
Current status: 538/734 73% | |
Current status: 577/734 78% | |
Current status: 626/734 85% | |
Current status: 683/734 93% | |
Current status: 719/734 97% | |
Current status: 733/734 99% | |
:makeStart | |
[ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 | |
[ant:javac] C:\Users\Gerald\Documents\GitHub\Rollercoaster2\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:35: error: cannot find symbol | |
[ant:javac] Field coreModList = GradleStartCommon.getFmlClass("fml.relauncher.CoreModManager", classLoader).getDeclaredField("loadPlugins"); | |
[ant:javac] ^ | |
[ant:javac] symbol: method getFmlClass(String,LaunchClassLoader) | |
[ant:javac] location: class GradleStartCommon | |
[ant:javac] C:\Users\Gerald\Documents\GitHub\Rollercoaster2\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:39: error: cannot find symbol | |
[ant:javac] Class<ITweaker> clazz = (Class<ITweaker>) GradleStartCommon.getFmlClass("fml.relauncher.CoreModManager$FMLPluginWrapper", classLoader); | |
[ant:javac] ^ | |
[ant:javac] symbol: method getFmlClass(String,LaunchClassLoader) | |
[ant:javac] location: class GradleStartCommon | |
[ant:javac] C:\Users\Gerald\Documents\GitHub\Rollercoaster2\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:61: error: cannot find symbol | |
[ant:javac] File newFile = GradleStartCommon.coreMap.get(coreMod.getClass().getCanonicalName()); | |
[ant:javac] ^ | |
[ant:javac] symbol: variable coreMap | |
[ant:javac] location: class GradleStartCommon | |
[ant:javac] C:\Users\Gerald\Documents\GitHub\Rollercoaster2\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:92: error: cannot find symbol | |
[ant:javac] Field f = GradleStartCommon.getFmlClass(COREMOD_CLASS, classLoader).getDeclaredField(TWEAKER_SORT_FIELD); | |
[ant:javac] ^ | |
[ant:javac] symbol: method getFmlClass(String,LaunchClassLoader) | |
[ant:javac] location: class GradleStartCommon | |
[ant:javac] 4 errors | |
[ant:javac] 1 warning | |
:makeStart FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':makeStart'. | |
> Compile failed; see the compiler error output for details. | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
BUILD FAILED | |
Total time: 5 mins 41.25 secs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment