Created
June 18, 2019 22:22
-
-
Save primetoxinz/17ba9a097eccdedb9fc9228236532d40 to your computer and use it in GitHub Desktop.
This file contains 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
genData { | |
environment 'target', 'fmldevdata' | |
main 'net.minecraftforge.userdev.LaunchTesting' | |
workingDirectory project.file('run') | |
environment 'MC_VERSION', "${config.getString('minecraft.version')}" | |
environment 'MCP_VERSION', "${config.getString('minecraft.mappings.mcp_version')}" | |
environment 'FORGE_GROUP', "${config.getString('minecraft.forge.group')}" | |
environment 'FORGE_VERSION', "${config.getString('minecraft.forge.version')}" | |
ideaModule "${rootProject.name}.${project.name}.main" | |
mods { | |
"${project.name}" { | |
sources sourceSets.main | |
} | |
} | |
args '--mod', 'forge', '--mod', mod.id, '--all', '--output', rootProject.file('src/generated/resources/') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment