Skip to content

Commit

Permalink
Set up stuff for dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Jan 26, 2019
1 parent cc710b9 commit 893762b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -86,3 +85,7 @@ processResources {
exclude 'mcmod.info'
}
}

jar {
baseName = "Unicopia-mc${project.mcVersion}"
}
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 893762b

Please sign in to comment.