commit 7cab2765328f4ad6e8eb4160b829705c535a7b12 parent 9f7a78d2cd08459ec22fadbf57c379ec2269204e Author: Antoine A <> Date: Sat, 17 May 2025 12:50:15 +0200 common: improve build script Diffstat:
| M | build.gradle | | | 12 | +++++------- |
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/build.gradle b/build.gradle @@ -5,7 +5,6 @@ plugins { id("org.jetbrains.dokka") version "2.0.0" id("idea") id("java-library") - id("maven-publish") } group = "tech.libeufin" @@ -37,18 +36,17 @@ subprojects { apply plugin: 'org.jetbrains.dokka' tasks.withType(Test) { + // Invalidate tests cache when editing SQL logic + inputs.dir("$rootDir/database-versioning").withPathSensitivity(PathSensitivity.RELATIVE) + // Or when editing ISO20022 test samples + inputs.dir("$rootDir/nexus/sample").withPathSensitivity(PathSensitivity.RELATIVE) + inputs.dir("$rootDir/testbench/sample").withPathSensitivity(PathSensitivity.RELATIVE) testLogging { exceptionFormat 'full' } } } -idea { - module { - excludeDirs += file("frontend") - } -} - ext.getVersionWithGitHash = { -> def stdout = new ByteArrayOutputStream() exec {