1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-11-13 02:48:06 +01:00
lighteco/buildSrc/src/main/kotlin/lighteco.platform-logic.gradle.kts
2023-07-30 17:04:46 +02:00

13 lines
No EOL
308 B
Text

plugins {
id("lighteco.shadow-logic")
}
val Project.platform: String
get() = project.name.split("-")[1]
tasks {
shadowJar {
archiveFileName.set("lighteco-${project.platform}-${project.version}.jar")
destinationDirectory.set(rootProject.layout.buildDirectory.dir("libs"))
}
}