This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch 2.3-gae
in repository https://gitbox.apache.org/repos/asf/freemarker.git
The following commit(s) were added to refs/heads/2.3-gae by this push:
new 82453625 README: Gradle must run on at least Java 16, or else it
couldn't find the JDK 16 toolchain.
82453625 is described below
commit 824536253ab7b3352df55853993e1d86e830c0ab
Author: ddekany <[email protected]>
AuthorDate: Fri Dec 22 19:45:41 2023 +0100
README: Gradle must run on at least Java 16, or else it couldn't find the
JDK 16 toolchain.
---
README.md | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 842aaa52..60fa7337 100644
--- a/README.md
+++ b/README.md
@@ -109,6 +109,9 @@ https://freemarker.apache.org/sourcecode.html
You need JDK 8 and JDK 16 to be installed
(and [visible to
Gradle](https://docs.gradle.org/current/userguide/toolchains.html)).
+Be sure that your default Java version (which Gradle should use automatically)
is at
+least 16!
+
To build `freemarker.jar`, just issue `./gradlew jar` in the project root
directory,
and it should download all dependencies automatically and build
`freemarker.jar`.
@@ -123,6 +126,7 @@ and check the `build/local-deployment` directory.
See `gradle.properties` for some Gradle properties that you may what to set,
especially if you are building a release.
+
IDE setup
---------
@@ -202,7 +206,7 @@ Originally done on IntelliJ IDEA Community 2023.3.2:
- "File" -> "Open": Select the "settings.gradle.kts" within the freemarker
root directory.
- If the project fails to load (or build), then adjust the following
configuration
in "File" -> "Settings" -> "Build, Execution, Deployment" -> "Build Tools"
-> "Gradle":
- - Gradle JVM: JDK 8+
+ - Gradle JVM: JDK 16 (or higher)
- Build and run using: "Gradle"
- Run tests using: "Gradle"