mirror of
https://github.com/apple/pkl.git
synced 2026-04-24 01:08:34 +02:00
Initial commit
This commit is contained in:
29
pkl-server/pkl-server.gradle.kts
Normal file
29
pkl-server/pkl-server.gradle.kts
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user