diff --git a/lang/dsl/build.gradle.kts b/lang/dsl/build.gradle.kts index f04ca52501..638fdd08ea 100644 --- a/lang/dsl/build.gradle.kts +++ b/lang/dsl/build.gradle.kts @@ -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) } // ============================================================================= diff --git a/lang/lsp-server/build.gradle.kts b/lang/lsp-server/build.gradle.kts index 257fee4279..532b82280f 100644 --- a/lang/lsp-server/build.gradle.kts +++ b/lang/lsp-server/build.gradle.kts @@ -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 {