mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
pkl-gradle: cannot use pkldoc generator on package URIs #246
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?
Originally created by @bioball on GitHub (Nov 8, 2024).
This is a regression:
In the following:
The implicit
<taskName>GetImportstask will attempt to analyze the imports of a package, which fails with:The workaround for now is to set
transitiveModulesexplicitly to something, which disables theGetImportstask dependency.To fix this: we only need to analyze the imports of
file:URIs. There is little chance that non-file URIs can import file URIs, because Pkl's default security manager disallows this.