Skip to content

Releases: alkcorp/ForgeGradle

Update MCP_JSON_URL

18 Nov 13:01
Compare
Choose a tag to compare

MCPBot is now dead, old URL for MCP_JSON is now also dead.
https://twitter.com/bspkrs/status/1457827031480160262

This release updates that to use the new URL.
https://maven.minecraftforge.net/de/oceanlabs/mcp/versions.json

Add these to your build.gradle.

repositories {
	// Hosted by @OvermindDl1
	maven {
	    name = "gt"
	    url = "https://gregtech.overminddl1.com/" 
	}	
}
dependencies {
    classpath "net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT" // Same as before, probably won't need to be changed
}

Then just refresh your dependencies.

gradlew --refresh-dependencies

First Backported Fix to FG 1.2.1

28 Mar 18:42
Compare
Choose a tag to compare

Backported Fix for OpenJDK >= 8u242. MinecraftForge/MinecraftForge#6473.
Resolves MinecraftForge/issues/652.

Add these to your build.gradle.

repositories {
	// Hosted by @OvermindDl1
	maven {
	    name = "gt"
	    url = "https://gregtech.overminddl1.com/" 
	}	
}
dependencies {
    classpath "net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT" // Same as before, probably won't need to be changed
}

Then just refresh your dependencies.

gradlew --refresh-dependencies

Confirmed working on:

Java OpenJDK 64-Bit Server VM, version 1.8.0_242
[FG_1.2.1] Loading ForgeGradle 1.3 - By Alkalus
[FG_1.2.1] Attempting to 'hack natives'.
[FG_1.2.1] Doing Classloader hack.
[FG_1.2.1] Setting private method 'initializePath' to be accessible.
[FG_1.2.1] Invoking 'initializePath' with arg 'java.library.path'.
[FG_1.2.1] Setting private field 'usr_paths' to be accessible.
[FG_1.2.1] Injecting path data.
[FG_1.2.1] Finished Classloader hack.