2023-01-28 19:35:10 -08:00
|
|
|
plugins {
|
2023-02-07 04:52:54 -05:00
|
|
|
id("gay.pizza.foundation.concrete-base")
|
2025-04-10 21:42:29 -07:00
|
|
|
id("com.gradleup.shadow")
|
2023-01-28 19:35:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-02-07 04:52:54 -05:00
|
|
|
implementation(project(":common-heimdall"))
|
2023-01-28 19:35:10 -08:00
|
|
|
|
2023-02-07 14:16:17 -05:00
|
|
|
implementation(libs.clikt)
|
|
|
|
implementation(libs.slf4j.simple)
|
2023-01-28 19:35:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.jar {
|
|
|
|
manifest.attributes(
|
2023-01-28 22:09:07 -08:00
|
|
|
"Main-Class" to "gay.pizza.foundation.heimdall.tool.MainKt"
|
2023-01-28 19:35:10 -08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.assemble {
|
|
|
|
dependsOn("shadowJar")
|
|
|
|
}
|
2023-03-16 17:52:08 -07:00
|
|
|
|
|
|
|
concreteItem {
|
|
|
|
type.set("tool")
|
|
|
|
|
|
|
|
fileInclusion {
|
2025-04-10 21:42:29 -07:00
|
|
|
tasks.getByName("shadowJar").outputs.files.associateWith { "tool-jar" }
|
2023-03-16 17:52:08 -07:00
|
|
|
}
|
|
|
|
}
|