Skip to content

Commit 10b3b2f

Browse files
author
Tom Brauer
committed
Change gradle task finalizedBy calls to dependsOn
Try to address a bug where distribution package does not include start scripts.
1 parent 51aede0 commit 10b3b2f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

build.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,15 +178,15 @@ tasks.register("zip") {
178178

179179
tasks.getByName("copyJre").dependsOn("refreshNatives")
180180

181-
tasks.getByName("build") { finalizedBy("copyJre") }
182-
tasks.getByName("build") { finalizedBy("copyRuntimeLibs") }
183-
tasks.getByName("build") { finalizedBy("copyNatives") }
184-
tasks.getByName("build") { finalizedBy("copyVortexUi") }
185-
tasks.getByName("build") { finalizedBy("copyLicense") }
186-
tasks.getByName("build") { finalizedBy("copyStartScripts") }
181+
tasks.getByName("build").dependsOn("copyJre")
182+
tasks.getByName("build").dependsOn("copyRuntimeLibs")
183+
tasks.getByName("build").dependsOn("copyNatives")
184+
tasks.getByName("build").dependsOn("copyVortexUi")
185+
tasks.getByName("build").dependsOn("copyLicense")
186+
tasks.getByName("build").dependsOn("copyStartScripts")
187187
tasks.getByName("build").dependsOn("vortex-api:fatJar")
188-
tasks.getByName("build") { finalizedBy("copyFatJar") }
189-
tasks.getByName("build") { finalizedBy("zip") }
188+
tasks.getByName("build").dependsOn("copyFatJar")
189+
tasks.getByName("build").finalizedBy("zip")
190190
tasks.getByName("zip").dependsOn(
191191
"copyJre", "copyRuntimeLibs", "copyNatives", "copyVortexUi", "copyLicense", "copyStartScripts"
192192
)

0 commit comments

Comments
 (0)