Make Forge group/name dynamic in MDK as well.

This commit is contained in:
LexManos 2018-11-14 13:42:11 -08:00
parent 93eabce1bc
commit de7eeed916
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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..