anatawa12 / ForgeGradle-2.3

This is only for FG_2.3(for minecraft 1.12.2). Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
30 stars 8 forks source link

ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system

this repository is only for ForgeGradle 2.3.

Here is repository for ForgeGradle 1.2. If you're modding for 1.7.x and 1.8, use it.

This project is a fork of ForgeGradle branch 'FG_2.3'.

Example project is now Work In Progress. please wait.

How to create project with this ForgeGradle instead of official ForgeGradle

  1. Download MDK from official Forge
  2. Follow How to use this ForgeGradle instead of official ForgeGradle to replace MDK

How to use this ForgeGradle instead of official ForgeGradle

  1. add mavenCentral() if not added in repositories in buildscript block.
  2. replace "net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT" with "com.anatawa12.forge:ForgeGradle:2.3-1.0.1"

if you aren't add any libraries for buildscript, you may able to use buildscript block shown below:

buildscript {
    repositories {
        mavenCentral()
        maven {
            name = "forge"
            url = "https://maven.minecraftforge.net"
        }
    }
    dependencies {
        classpath("com.anatawa12.forge:ForgeGradle:2.3-1.0.+") {
            changing = true
        }
    }
}