From 81bfdb7cbd954f268427fdd5d017a94f2e4c636b Mon Sep 17 00:00:00 2001 From: Stefano Baghino Date: Thu, 18 Apr 2024 17:28:56 +0200 Subject: [PATCH] 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. --- docs/docs.gradle.kts | 2 +- pkl-cli/pkl-cli.gradle.kts | 6 ++++-- pkl-core/pkl-core.gradle.kts | 18 +++++++++--------- pkl-server/pkl-server.gradle.kts | 4 ++-- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/docs/docs.gradle.kts b/docs/docs.gradle.kts index 06e6d2c2..221c6f90 100644 --- a/docs/docs.gradle.kts +++ b/docs/docs.gradle.kts @@ -32,5 +32,5 @@ dependencies { tasks.test { inputs.files(fileTree("modules").matching { include("**/pages/*.adoc") - }) + }).withPropertyName("asciiDocFiles").withPathSensitivity(PathSensitivity.RELATIVE) } diff --git a/pkl-cli/pkl-cli.gradle.kts b/pkl-cli/pkl-cli.gradle.kts index ddb2894f..8db52556 100644 --- a/pkl-cli/pkl-cli.gradle.kts +++ b/pkl-cli/pkl-cli.gradle.kts @@ -138,9 +138,11 @@ fun Exec.configureExecutable(isEnabled: Boolean, outputFile: Provider