@@ -230,6 +230,7 @@ tasks {
230230tasks.register<Test >(" testSubprocess" ) {
231231 testClassesDirs = sourceSets.main.get().output.classesDirs
232232 classpath = configurations.runtimeClasspath.get().plus(files(tasks.jar))
233+ outputs.upToDateWhen { false } // Don't skip execution of hapi test tasks
233234
234235 val ciTagExpression =
235236 gradle.startParameter.taskNames
@@ -351,6 +352,7 @@ tasks.register<Test>("testSubprocess") {
351352tasks.register<Test >(" testSubprocessConcurrent" ) {
352353 testClassesDirs = sourceSets.main.get().output.classesDirs
353354 classpath = configurations.runtimeClasspath.get().plus(files(tasks.jar))
355+ outputs.upToDateWhen { false } // Don't skip execution of hapi test tasks
354356
355357 val ciTagExpression =
356358 gradle.startParameter.taskNames
@@ -468,6 +470,7 @@ tasks.register<Test>("testSubprocessConcurrent") {
468470tasks.register<Test >(" testRemote" ) {
469471 testClassesDirs = sourceSets.main.get().output.classesDirs
470472 classpath = configurations.runtimeClasspath.get().plus(files(tasks.jar))
473+ outputs.upToDateWhen { false } // Don't skip execution of hapi test tasks
471474
472475 systemProperty(" hapi.spec.remote" , " true" )
473476 // Support overriding a single remote target network for all executing specs
@@ -563,6 +566,7 @@ tasks {
563566tasks.register<Test >(" testEmbedded" ) {
564567 testClassesDirs = sourceSets.main.get().output.classesDirs
565568 classpath = configurations.runtimeClasspath.get().plus(files(tasks.jar))
569+ outputs.upToDateWhen { false } // Don't skip execution of hapi test tasks
566570
567571 val ciTagExpression =
568572 gradle.startParameter.taskNames
@@ -623,6 +627,7 @@ tasks {
623627tasks.register<Test >(" testRepeatable" ) {
624628 testClassesDirs = sourceSets.main.get().output.classesDirs
625629 classpath = configurations.runtimeClasspath.get().plus(files(tasks.jar))
630+ outputs.upToDateWhen { false } // Don't skip execution of hapi test tasks
626631
627632 val ciTagExpression =
628633 gradle.startParameter.taskNames
0 commit comments