Enable caching of native image building and test tasks (#409)

Enable caching for the native image building task and improves the caching effectiveness of some of the test tasks in the project.
This commit is contained in:
Stefano Baghino
2024-04-18 17:28:56 +02:00
committed by GitHub
parent 31917d1556
commit 81bfdb7cbd
4 changed files with 16 additions and 14 deletions

View File

@@ -14,6 +14,6 @@ dependencies {
}
tasks.test {
inputs.dir("src/test/files/SnippetTests/input")
inputs.dir("src/test/files/SnippetTests/output")
inputs.dir("src/test/files/SnippetTests/input").withPropertyName("snippetTestsInput").withPathSensitivity(PathSensitivity.RELATIVE)
inputs.dir("src/test/files/SnippetTests/output").withPropertyName("snippetTestsOutput").withPathSensitivity(PathSensitivity.RELATIVE)
}