Skip to content

Commit 15c6393

Browse files
committed
fix: task execution order
1 parent 7564153 commit 15c6393

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildSrc/src/main/kotlin/net/blueberrymc/gradle/buildSrc/actions/CreateClientPatchAction.kt

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class CreateClientPatchAction : Action<BaseBlueberryTask> {
1414
val baseDir = task.project.projectDir
1515
initRepository(baseDir)
1616
val patchFilePath = File(baseDir, "work/jbsdiffPatcher/src/main/resources/patch.bz2")
17+
task.dependsOn(task.project.getTaskByName("shadowJar", "blueberry"))
1718
task.outputs.file(patchFilePath)
1819
task.doLast {
1920
val clientJarBytes = File(baseDir, "MagmaCube/work/Minecraft/$MINECRAFT_VERSION/client.jar").readBytes()

0 commit comments

Comments
 (0)