Set up stuff for dev builds

This commit is contained in:
Sollace 2019-01-26 08:40:23 +02:00
parent cc710b93eb
commit 893762b2ea
2 changed files with 8 additions and 5 deletions

View file

@ -22,7 +22,7 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'org.spongepowered.mixin'
def ver = "${project.mcVersion}.${project.buildVersion}-${project.buildType}"
def ver = "${project.buildType}${project.buildVersion}.${project.buildRevision}"
version = ver
group = project.group
@ -32,7 +32,6 @@ minecraft {
version = project.mcVersion + '-' + project.mcfVersion
mappings = project.mcMappings
runDir = 'run'
makeObfSourceJar = false
replace '@MODID@', project.modid
replace '@NAME@', project.name
replace '@AUTHOR@', project.author
@ -86,3 +85,7 @@ processResources {
exclude 'mcmod.info'
}
}
jar {
baseName = "Unicopia-mc${project.mcVersion}"
}

View file

@ -3,9 +3,9 @@ title=Unicopia Redux
group=com.minelittlepony.unicopia
author=Sollace
description=Magical Abilities for Mine Little Pony!
buildType=SNAPSHOT
buildVersion=1.0.0
buildRevision=0
buildType=inDev
buildVersion=0
buildRevision=1
mcVersion=1.12.2
mcfVersion=14.23.2.2654
mcMappings=stable_39