mirror of
https://github.com/apple/pkl.git
synced 2026-03-18 07:13:54 +01:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user