Fix Gradle test tasks in pkl-server (#176)

Before: "test" runs no tests, "unitTests" runs all tests
After : "test" runs all tests
This commit is contained in:
translatenix
2024-02-22 19:58:06 -08:00
committed by GitHub
parent 2c54643037
commit 48a000aa1a

View File

@@ -16,14 +16,4 @@ dependencies {
tasks.test {
inputs.dir("src/test/files/SnippetTests/input")
inputs.dir("src/test/files/SnippetTests/output")
dependsOn(unitTests)
useJUnitPlatform {
includeEngines("SnippetTestEngine")
}
}
val unitTests by tasks.registering(Test::class) {
testClassesDirs = files(tasks.test.get().testClassesDirs)
classpath = tasks.test.get().classpath
}