Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lang/dsl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ dependencies {

tasks.test {
useJUnitPlatform()
// LanguageModelTest and DslPowerShowcaseTest check the model against the core library's sources, which they find
// above the working directory: without this input, a change to those sources would not run them again.
inputs
.dir(rootDir.resolve("../lib_ecstasy/src/main/x"))
.withPropertyName("ecstasySources")
.withPathSensitivity(PathSensitivity.RELATIVE)
}

// =============================================================================
Expand Down
6 changes: 6 additions & 0 deletions lang/lsp-server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,12 @@ tasks.test {
dir = dir.parentFile
}
systemProperty("xtc.composite.root", dir.absolutePath)
// LspIntegrationTest opens sources of the core library under that root: without this input, a change to them
// would not run it again.
inputs
.dir(File(dir, "lib_ecstasy/src/main/x"))
.withPropertyName("ecstasySources")
.withPathSensitivity(PathSensitivity.RELATIVE)
}

tasks.jar {
Expand Down
Loading