mirror of
https://github.com/apple/pkl.git
synced 2026-03-23 09:31:06 +01:00
30 lines
635 B
Kotlin
30 lines
635 B
Kotlin
plugins {
|
|
pklAllProjects
|
|
pklJavaLibrary
|
|
pklKotlinLibrary
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":pkl-core"))
|
|
implementation(libs.msgpack)
|
|
implementation(libs.truffleApi)
|
|
implementation(libs.antlrRuntime)
|
|
|
|
testImplementation(project(":pkl-commons-test"))
|
|
}
|
|
|
|
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
|
|
}
|