mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
Downstream native-image embedders are broken
#266
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 @sgammon on GitHub (Jan 26, 2025).
258eda8630/pkl-cli/pkl-cli.gradle.kts (L87-L88)This exclusion drops key classes from the
pkl-cliJAR which are needed to build Pkl native binaries. While the comment is correct, these classes are inert for JVM use at runtime, embedders will Have A Bad Time if these classes are excluded from anative-imageclasspath downstream, when using thepkl-cli-*JAR.These classes can be dropped from fat JARs, because shading with Truffle is only supported on JVM anyway.