mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-14 10:35:20 +01:00
Change jar name and version to include "1.17" in them
This commit is contained in:
parent
ec7f9214ff
commit
b54b4b2e67
@ -80,7 +80,7 @@ jar {
|
||||
|
||||
processResources {
|
||||
outputs.upToDateWhen {false}
|
||||
String versionNumber = System.getenv("BUILD_NUMBER") == null ? version : version + "-DEVb" + System.getenv("BUILD_NUMBER")
|
||||
String versionNumber = System.getenv("BUILD_NUMBER") == null ? version + "-1.17" : version + "-1.17-DEVb" + System.getenv("BUILD_NUMBER")
|
||||
eachFile { details ->
|
||||
if (details.name.contentEquals('plugin.yml')) {
|
||||
filter { String line ->
|
||||
@ -94,10 +94,10 @@ shadowJar {
|
||||
dependsOn(jar)
|
||||
|
||||
if(System.getenv("BUILD_NUMBER") == null){
|
||||
archiveName = rootProject.name + ".jar"
|
||||
archiveName = rootProject.name + "-1.17.jar"
|
||||
}
|
||||
else{
|
||||
archiveName = rootProject.name + "-b" + System.getenv("BUILD_NUMBER") + ".jar"
|
||||
archiveName = rootProject.name + "-1.17-b" + System.getenv("BUILD_NUMBER") + ".jar"
|
||||
}
|
||||
|
||||
delete fileTree('./target/') {
|
||||
|
Loading…
Reference in New Issue
Block a user