Skip to content

Commit 1fabad7

Browse files
committed
Try to work around sporadic quarkus build failure
1 parent bfa81e7 commit 1fabad7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

instrumentation/quarkus-resteasy-reactive/quarkus2-testing/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ val quarkusTestCompileOnlyConfiguration by configurations.creating {
4141
val testModelPath = layout.buildDirectory.file("quarkus-app-test-model.dat").get().asFile.toPath()
4242

4343
val buildModel = tasks.register("buildModel") {
44+
dependsOn(configurations.named("testRuntimeClasspath"))
45+
4446
if (testModelPath.notExists()) {
4547
doLast {
4648
val modelParameter = ModelParameterImpl()

instrumentation/quarkus-resteasy-reactive/quarkus3-testing/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ val quarkusTestCompileOnlyConfiguration by configurations.creating {
4848
val testModelPath = layout.buildDirectory.file("quarkus-app-test-model.dat").get().asFile.toPath()
4949

5050
val buildModel = tasks.register("buildModel") {
51+
dependsOn(configurations.named("testRuntimeClasspath"))
52+
5153
if (testModelPath.notExists()) {
5254
doLast {
5355
val modelParameter = ModelParameterImpl()

0 commit comments

Comments
 (0)