configure litemod before the task is run. This makes it not generate a build.number until it is built.

This commit is contained in:
Matthew Messinger 2018-07-08 18:57:30 -04:00
parent bb16e157df
commit cbcc470a63
2 changed files with 20 additions and 16 deletions

View file

@ -44,21 +44,25 @@ sourceSets {
} }
} }
litemod.json { litemod {
mcversion = '1.12.r2' doFirst {
author = 'Verdana, Rene_Z, Mumfrey, Killjoy1221' json {
description = 'Mine Little Pony turns players and mobs into ponies' mcversion = '1.12.r2'
description.minelittlepony = '''\ author = 'Verdana, Rene_Z, Mumfrey, Killjoy1221'
Mine Little Pony turns players and mobs into ponies description = 'Mine Little Pony turns players and mobs into ponies'
Press F9 ingame to access settings'''.stripIndent() description.minelittlepony = '''\
description.hdskinsmod = '''\ Mine Little Pony turns players and mobs into ponies
Separate skin server for Mine Little Pony that also supports HD skins. Press F9 ingame to access settings'''
Access via button on the main menu.'''.stripIndent() description.hdskinsmod = '''\
Separate skin server for Mine Little Pony that also supports HD skins.
Access via button on the main menu.'''
mixinConfigs += [ mixinConfigs += [
'minelp.mixin.json', 'minelp.mixin.json',
'hdskins.mixin.json' 'hdskins.mixin.json'
] ]
}
}
} }
jar { jar {

View file

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit! #Build Number for ANT. Do not edit!
#Mon Jun 11 22:03:32 CAT 2018 #Sun Jul 08 18:54:44 EDT 2018
build.number=499 build.number=500