Skip to content

Instantly share code, notes, and snippets.

@xaeroverse
xaeroverse / gist:57464ef6454e9c8dc9710e7ccfcfee12
Created August 7, 2017 09:58
Compiling FG with Gradle 4
> Task :compileJava
/tmp/ForgeGradle/src/main/java/net/minecraftforge/gradle/user/TaskDepDummy.java:29: error: cannot find symbol
import org.gradle.api.tasks.ParallelizableTask;
^
symbol: class ParallelizableTask
location: package org.gradle.api.tasks
/tmp/ForgeGradle/src/main/java/net/minecraftforge/gradle/user/TaskDepDummy.java:32: error: cannot find symbol
@ParallelizableTask
^
symbol: class ParallelizableTask
@xaeroverse
xaeroverse / TUTORIAL.md
Last active November 7, 2021 09:14
Updating MCP mappings in ForgeGradle

Updated mappings for Forge/FML development with ForgeGradle

Official support for updated SRG->MCP mappings is already completed, but in the event that you require local mappings, this 'hack' can serve to inject your own custom mappings faster than the official schedule.

Requirements

For Forge/FML, you will need to know basic directory management and git.

For LiteLoader, you will need to know the structure of Maven repositories, inspecting raw JSON files by hand, MCP's build tools, compiling LiteLoader from SVN sources, ANT, and some Google-fu.

Introduction