1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-11-14 03:18:07 +01:00
lighteco/buildSrc/src/main/kotlin/lighteco.platform-logic.gradle.kts

13 lines
308 B
Text
Raw Normal View History

2023-07-30 17:04:46 +02:00
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"))
}
}