diff --git a/simulator/build.gradle.kts b/simulator/build.gradle.kts index 2a09c9b29..e1c831c97 100644 --- a/simulator/build.gradle.kts +++ b/simulator/build.gradle.kts @@ -58,3 +58,9 @@ tasks.register("untarTestBlockStream") { tasks.named("processResources") { dependsOn(tasks.named("untarTestBlockStream")) } tasks.named("sourcesJar") { dependsOn(tasks.named("untarTestBlockStream")) } + +// Ensure untar runs before test tasks +tasks.named("test") { + dependsOn(tasks.named("untarTestBlockStream")) + mustRunAfter(tasks.named("processResources")) +}