mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-11-22 15:01:05 +01:00
13 lines
308 B
Text
13 lines
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"))
|
||
|
}
|
||
|
}
|