Support jpkl executable for Windows (#872)

This updates the script used to start the executable to support
Windows as well.

For Windows support, the executable needs to be named `jpkl.bat`.
This commit is contained in:
Daniel Chao
2025-01-14 05:16:59 -08:00
committed by GitHub
parent 3296dd8a89
commit 100dd0560e
3 changed files with 44 additions and 16 deletions

View File

@@ -363,7 +363,7 @@ publishing {
description.set(
"""
Pkl CLI executable for Java.
Can be executed directly on *nix (if the `java` command is found on the PATH) and with `java -jar` otherwise.
Can be executed directly, or with `java -jar <path/to/jpkl>`.
Requires Java 17 or higher.
"""
.trimIndent()