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

View file

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