[CHORE] Configure CI
This commit is contained in:
@@ -5,14 +5,19 @@ plugins {
|
|||||||
}
|
}
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
var base_version = "${version_major}.${version_minor}.${version_patch}"
|
var base_version = "${version_major}.${version_minor}"
|
||||||
|
var final_version = "${base_version}.${version_patch}"
|
||||||
|
|
||||||
group = maven_group
|
group = maven_group
|
||||||
version = base_version
|
version = final_version
|
||||||
archivesBaseName = "JarManager"
|
archivesBaseName = "JarManager"
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
targetCompatibility = JavaVersion.VERSION_1_8
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
||||||
|
if (System.getenv('BUILD_NUMBER') != null) {
|
||||||
|
version = "${base_version}." + (System.getenv('BUILD_NUMBER') - 1)
|
||||||
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
shadeMe
|
shadeMe
|
||||||
implementation.extendsFrom shadeMe
|
implementation.extendsFrom shadeMe
|
||||||
|
Reference in New Issue
Block a user