You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by vl...@apache.org on 2023/01/10 18:55:54 UTC
[jmeter] 02/03: Enabled build caching for some tasks
This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
commit 4998611f45fc9da2b1f6bbc3916e581649f4cba1
Author: Sandra Thieme <st...@gradle.com>
AuthorDate: Fri Jan 6 11:23:30 2023 +0100
Enabled build caching for some tasks
---
src/dist/build.gradle.kts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/dist/build.gradle.kts b/src/dist/build.gradle.kts
index 9fc84783de..500fe45810 100644
--- a/src/dist/build.gradle.kts
+++ b/src/dist/build.gradle.kts
@@ -340,6 +340,7 @@ fun createAnakiaTask(
)
inputs.property("extension", extension)
outputs.dir(outputDir)
+ outputs.cacheIf { true }
dependsOn(prepareProps)
doLast {
@@ -442,6 +443,7 @@ val processSiteXslt by tasks.registering {
inputs.files(xdocs)
inputs.property("year", lastEditYear)
outputs.dir(outputDir)
+ outputs.cacheIf { true }
doLast {
for (f in (outputs as TaskOutputsInternal).previousOutputFiles) {