3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-30 18:10:12 +01:00
ViaVersion/build-logic/src/main/kotlin/via.platform-conventions.gradle.kts

13 Zeilen
385 B
Plaintext

2023-02-15 14:56:12 +01:00
import java.util.*
2021-05-25 06:58:34 +02:00
plugins {
id("via.shadow-conventions")
}
tasks {
shadowJar {
2023-02-15 14:56:12 +01:00
archiveFileName.set("ViaVersion-${project.name.substringAfter("viaversion-").replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() }}-${project.version}.jar")
2021-05-25 06:58:34 +02:00
destinationDirectory.set(rootProject.layout.buildDirectory.dir("libs"))
}
}