mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-21 11:46:46 +01:00
[CI SKIP] Add a way to distinguish between dev builds and stable builds from the CI
This commit is contained in:
parent
6ba614dab1
commit
3bd4b37958
@ -10,7 +10,8 @@ version = "2023.3"
|
||||
project.ext {
|
||||
archiveFolder = file("archive/")
|
||||
targetFolder = file("target/")
|
||||
buildVersion = System.getenv("BUILD_NUMBER") == null ? version : version + "-b" + System.getenv("BUILD_NUMBER")
|
||||
buildVersion = System.getenv("BUILD_NUMBER") == null || Boolean.parseBoolean(System.getenv("STABLE_BUILD")) ?
|
||||
version : version + "-b" + System.getenv("BUILD_NUMBER")
|
||||
}
|
||||
|
||||
allprojects {
|
||||
@ -56,6 +57,7 @@ dependencies {
|
||||
|
||||
implementation 'com.bgsoftware.common.reflection:ReflectionUtils:latest'
|
||||
implementation 'com.bgsoftware.common.config:CommentedConfiguration:1.0.3'
|
||||
implementation 'com.bgsoftware.common.dependencies:DependenciesManager:b2'
|
||||
|
||||
// Spigot jars
|
||||
compileOnly "org.spigotmc:v1_8_R3:latest"
|
||||
|
Loading…
Reference in New Issue
Block a user