build: Back to snapshot for development

This commit is contained in:
NotMyFault 2022-03-10 23:16:30 +01:00
parent 95512a4c0b
commit 7ba185c4ac
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -22,7 +22,7 @@ logger.lifecycle("""
******************************************* *******************************************
""") """)
var rootVersion by extra("2.1.0") var rootVersion by extra("2.1.1")
var snapshot by extra("SNAPSHOT") var snapshot by extra("SNAPSHOT")
var revision: String by extra("") var revision: String by extra("")
var buildNumber by extra("") var buildNumber by extra("")
@ -40,7 +40,7 @@ ext {
} }
} }
version = String.format("%s", rootVersion) version = String.format("%s-%s", rootVersion, buildNumber)
if (!project.hasProperty("gitCommitHash")) { if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit") apply(plugin = "org.ajoberstar.grgit")