mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-17 13:13:12 +01:00
add build number to ci build
This commit is contained in:
parent
35a2a97e00
commit
127595467f
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ version = mod_version
|
|||
group = "de.ellpeck.actuallyadditions"
|
||||
archivesBaseName = "actuallyadditions-${mc_version}"
|
||||
|
||||
if (System.getenv('BUILD_NUMBER') != null) {
|
||||
version += "." + System.getenv('BUILD_NUMBER')
|
||||
}
|
||||
|
||||
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
|
||||
|
||||
sourceSets {
|
||||
|
|
Loading…
Reference in a new issue