Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
RTAkland committed Dec 1, 2024
1 parent dc9945b commit 6f1b640
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ application {
tasks.shadowJar {
enabled = false
}

tasks.register<ShadowJar>("buildShadowJar") {
group = "build"
description = "Manually build the shadow JAR file"
Expand All @@ -39,6 +38,18 @@ tasks.register<ShadowJar>("buildShadowJar") {
configurations = listOf(project.configurations.runtimeClasspath.get())
}

tasks.named("shadowDistZip") {
dependsOn("buildShadowJar")
}

tasks.named("shadowDistTar") {
dependsOn("buildShadowJar")
}

tasks.named("startShadowScripts") {
dependsOn("buildShadowJar")
}

allprojects {
apply {
apply(plugin = "org.jetbrains.kotlin.jvm")
Expand Down

0 comments on commit 6f1b640

Please sign in to comment.