Make Forge group/name dynamic in MDK as well.
This commit is contained in:
parent
93eabce1bc
commit
de7eeed916
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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..
|
||||
|
|
Loading…
Reference in a new issue