This exclusion drops key classes from the pkl-cli JAR 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 a native-image classpath downstream, when using the pkl-cli-* JAR.
These classes can be dropped from fat JARs, because shading with Truffle is only supported on JVM anyway.
Originally created by @sgammon on GitHub (Jan 26, 2025).
https://github.com/apple/pkl/blob/258eda86301c2daee548395aed7fdd028a33e39b/pkl-cli/pkl-cli.gradle.kts#L87-L88
This exclusion drops key classes from the `pkl-cli` JAR 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 a `native-image` classpath downstream, when using the `pkl-cli-*` JAR.
These classes can be dropped from fat JARs, because shading with Truffle is only supported on JVM anyway.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @sgammon on GitHub (Jan 26, 2025).
https://github.com/apple/pkl/blob/258eda86301c2daee548395aed7fdd028a33e39b/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.