mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #403] [MERGED] Make EvalTask track resolved output paths #538
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/403
Author: @bioball
Created: 4/5/2024
Status: ✅ Merged
Merged: 7/26/2024
Merged by: @bioball
Base:
main← Head:revert-tracked-eval📝 Commits (10+)
929d882Revert "Turn EvalTask into a tracked Gradle task"0ca03a7Update comment with detailed explanation55de0aeMake EvalTask tracked again, and add derived output paths70cfff7Make getOutputFormat() a tracked input063a2c6Create a provider via provider factory1becaecUse SetProperty to enable proper dependency trackinga208562Style fixb027056Reimplemented tracking of output files in EvalTask60c8043Cleanup: rename output properties6ce42b5Fix merge conflict📊 Changes
5 files changed (+364 additions, -25 deletions)
View changed files
📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliEvaluator.kt(+4 -3)📝
pkl-gradle/src/main/java/org/pkl/gradle/task/BasePklTask.java(+10 -0)📝
pkl-gradle/src/main/java/org/pkl/gradle/task/EvalTask.java(+52 -20)📝
pkl-gradle/src/main/java/org/pkl/gradle/task/ModulesTask.java(+4 -1)📝
pkl-gradle/src/test/kotlin/org/pkl/gradle/EvaluatorsTest.kt(+294 -1)📄 Description
This makes Gradle track
getOutputPaths()andgetMultipleFileOutputPaths. These represent the actual outputs of the EvalTask.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.