Improve version and file name

This commit is contained in:
Draycia committed 2020-07-30 07:18:22 -07:00
1 parent 8ce6ec3cf4
commit 331272f146
6 files changed
+31 -10

No files matched your search

+6 -5
View File
@@ -1,12 +1,13 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'com.palantir.git-version' version '0.12.3'
}
def jenkinsBuild = System.getenv("BUILD_NUMBER") ?: "0"
ext.projectVersion = '1.0'
def gitHash = versionDetails().gitHash
allprojects {
group = 'net.draycia'
version = '1.0-b' + jenkinsBuild
version = project.property('projectVersion') + '-' + gitHash
}
apply plugin: 'base'