Rename Geyser standalone jar to Geyser-Standalone.jar

This commit is contained in:
Camotoy 2022-09-19 11:26:47 -04:00
parent c84d53c827
commit f31b183a33
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
2 changed files with 2 additions and 3 deletions

View file

@ -27,7 +27,7 @@ application {
} }
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> { tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
archiveBaseName.set("Geyser") archiveBaseName.set("Geyser-Standalone")
transform(Log4j2PluginsCacheFileTransformer()) transform(Log4j2PluginsCacheFileTransformer())
} }

View file

@ -1,5 +1,4 @@
import net.kyori.blossom.BlossomExtension import net.kyori.blossom.BlossomExtension
import net.kyori.indra.git.IndraGitExtension
plugins { plugins {
id("net.kyori.blossom") id("net.kyori.blossom")
@ -109,7 +108,7 @@ configure<BlossomExtension> {
} }
fun Project.buildNumber(): Int = fun Project.buildNumber(): Int =
Integer.parseInt(System.getenv("BUILD_NUMBER") ?: "-1") System.getenv("BUILD_NUMBER")?.let { Integer.parseInt(it) } ?: -1
inner class GitInfo { inner class GitInfo {
val branch: String val branch: String