Skip to content

Commit 067dd19

Browse files
committed
Fix testing for gcdm
1 parent a4cc954 commit 067dd19

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cdm/gcdm/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import com.github.psxpaul.task.JavaExecFork
77
import com.google.protobuf.gradle.id
8+
import org.gradle.kotlin.dsl.get
89

910
plugins {
1011
id("ncj-java-library-conventions")
@@ -83,7 +84,6 @@ val startDaemon =
8384
waitForPort = 16111
8485
waitForOutput = "Server started, listening on 16111"
8586
dependsOn(tasks.testClasses)
86-
doLast { stopAfter = tasks.named("test") }
8787
}
8888

89-
tasks.test { dependsOn(startDaemon) }
89+
tasks.withType<Test> { dependsOn(startDaemon) }

0 commit comments

Comments
 (0)