mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-05 00:29:08 +01:00
Added build number to gradle
This commit is contained in:
parent
195355bc5b
commit
88382ed2c6
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ 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