JDK version bump cleaups, bump minimum Gradle version to 8.1 (#454)

* Bump JDK when running simple gradle CI jobs
* Bump minimum Gradle version to 8.1
* Fix docs, and fix minimum version checker
This commit is contained in:
Daniel Chao
2024-04-26 10:42:39 -04:00
committed by GitHub
parent a7c7e51180
commit e28d747418
17 changed files with 21 additions and 25 deletions

View File

@@ -37,7 +37,7 @@ The CLI comes in multiple flavors:
* Native Linux executable for amd64
* Native Linux executable for aarch64
* Native Alpine Linux executable for amd64 (cross-compiled and tested on Oracle Linux 8)
* Java executable (tested with Java 11/17 on macOS and Oracle Linux, may work on other platforms)
* Java executable (tested with Java 17/21 on macOS and Oracle Linux, may work on other platforms)
On macOS and Linux, we recommend using the native executables.
They are self-contained, start up instantly, and run complex Pkl code much faster than the Java executable.
@@ -50,7 +50,7 @@ whereas, the Alpine Linux executable is statically linked against _musl libc_ an
====
The Java executable works on multiple platforms and has a smaller binary size than the native executables.
However, it requires a Java 11 (or higher) runtime on the system path, has a noticeable startup delay,
However, it requires a Java 17 (or higher) runtime on the system path, has a noticeable startup delay,
and runs complex Pkl code slower than the native executables.
All flavors are built from the same codebase and undergo the same automated testing.
@@ -190,7 +190,7 @@ This should print something similar to:
[source,shell]
[subs="+attributes"]
----
Pkl {pkl-version} (macOS 10.16, Java 11.0.9)
Pkl {pkl-version} (macOS 14.2, Java 17.0.10)
----
=== Windows support