From cbcc470a63c0d75d10806405aefc4da7e2754746 Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Sun, 8 Jul 2018 18:57:30 -0400 Subject: [PATCH] configure litemod before the task is run. This makes it not generate a build.number until it is built. --- build.gradle | 32 ++++++++++++++++++-------------- build.number | 4 ++-- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/build.gradle b/build.gradle index d234d2c6..3ae4d32f 100644 --- a/build.gradle +++ b/build.gradle @@ -44,21 +44,25 @@ sourceSets { } } -litemod.json { - mcversion = '1.12.r2' - author = 'Verdana, Rene_Z, Mumfrey, Killjoy1221' - description = 'Mine Little Pony turns players and mobs into ponies' - description.minelittlepony = '''\ - Mine Little Pony turns players and mobs into ponies - Press F9 ingame to access settings'''.stripIndent() - description.hdskinsmod = '''\ - Separate skin server for Mine Little Pony that also supports HD skins. - Access via button on the main menu.'''.stripIndent() +litemod { + doFirst { + json { + mcversion = '1.12.r2' + author = 'Verdana, Rene_Z, Mumfrey, Killjoy1221' + description = 'Mine Little Pony turns players and mobs into ponies' + description.minelittlepony = '''\ + Mine Little Pony turns players and mobs into ponies + Press F9 ingame to access settings''' + description.hdskinsmod = '''\ + Separate skin server for Mine Little Pony that also supports HD skins. + Access via button on the main menu.''' - mixinConfigs += [ - 'minelp.mixin.json', - 'hdskins.mixin.json' - ] + mixinConfigs += [ + 'minelp.mixin.json', + 'hdskins.mixin.json' + ] + } + } } jar { diff --git a/build.number b/build.number index fd955a7b..83e6cc8d 100644 --- a/build.number +++ b/build.number @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Mon Jun 11 22:03:32 CAT 2018 -build.number=499 +#Sun Jul 08 18:54:44 EDT 2018 +build.number=500