mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
Improve version and file name
This commit is contained in:
1 parent
8ce6ec3cf4
commit
331272f146
6 files changed
+31
-10
No files matched your search
+6
-5
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user