mirror of
https://github.com/unmojang/authlib-injector.git
synced 2025-10-01 07:11:39 -04:00
Use build number as version
This commit is contained in:
parent
b3376d61ce
commit
4405964676
@ -1,5 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'com.github.johnrengelman.shadow' version '2.0.1'
|
id 'com.github.johnrengelman.shadow' version '2.0.1'
|
||||||
|
id 'com.palantir.git-version' version '0.8.0'
|
||||||
id 'java'
|
id 'java'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -18,7 +19,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
version = '1.0-SNAPSHOT'
|
version = '1.0.' + (System.getenv('BUILD_NUMBER')?:'0-SNAPSHOT') + '-' + versionDetails().gitHash[0..6]
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user