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

View file

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