Make build type suffix configurable via properties file

This commit is contained in:
Mumfrey committed 2015-05-19 00:33:41 +01:00
1 parent 584f14877e
commit ac5828a4a7
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ defaultTasks 'licenseFormat', 'check', 'build'
// Basic project information
group = 'org.spongepowered'
archivesBaseName = 'mixin'
version = '0.3.4-SNAPSHOT'
version = buildVersion + (buildType == 'RELEASE' ? '' : "-$buildType")
// Extended project information
ext.projectName = 'Mixin'
+2
View File
@@ -4,3 +4,5 @@ packaging=jar
url=http://spongepowered.org
description=SpongeAPI
organization=SpongePowered
buildVersion=0.3.4
buildType=SNAPSHOT