diff --git a/build.gradle b/build.gradle index 6ecdfcafe..5e9f884a4 100644 --- a/build.gradle +++ b/build.gradle @@ -707,6 +707,8 @@ project(':forge') { } filter(ReplaceTokens, tokens: [ FORGE_VERSION: project.version, + FORGE_GROUP: project.group, + FORGE_NAME: project.name, MC_VERSION: MC_VERSION, MAPPING_CHANNEL: MAPPING_CHANNEL, MAPPING_VERSION: MAPPING_VERSION diff --git a/mdk/build.gradle b/mdk/build.gradle index 58be6a5f6..ee711d2a9 100644 --- a/mdk/build.gradle +++ b/mdk/build.gradle @@ -44,7 +44,7 @@ minecraft { dependencies { // Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed // that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied. - minecraft 'net.minecraftforge:forge:@FORGE_VERSION@' + minecraft '@FORGE_GROUP@:@FORGE_NAME@:@FORGE_VERSION@' // you may put jars on which you depend on in ./libs // or you may define them like so..