You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2026/09/24 10:49:13 UTC

(geode) branch develop updated: Update README to reflect JDK 17 and replace the removed Gradle 'compile'/'runtime' configurations. (#8011)

This is an automated email from the ASF dual-hosted git repository.

JinwooHwang pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 04b19bea8e Update README to reflect JDK 17 and replace the removed Gradle 'compile'/'runtime' configurations. (#8011)
04b19bea8e is described below

commit 04b19bea8efbaa2b35c32305eb70637758111a0e
Author: daidai <20...@qq.com>
AuthorDate: Thu Sep 24 18:49:07 2026 +0800

    Update README to reflect JDK 17 and replace the removed Gradle 'compile'/'runtime' configurations. (#8011)
---
 README.md | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 30a81c9c38..0de2c29d81 100644
--- a/README.md
+++ b/README.md
@@ -63,7 +63,7 @@ Maven
 Gradle
 ```groovy
 dependencies {
-  compile "org.apache.geode:geode-core:$VERSION"
+  implementation "org.apache.geode:geode-core:$VERSION"
 }
 ```
 
@@ -123,7 +123,7 @@ instructions on how to run tests.
 
 ## <a name="started"></a>Geode in 5 minutes
 
-Geode requires installation of JDK version 1.8.  After installing Apache Geode,
+Geode requires installation of JDK version 17 or later.  After installing Apache Geode,
 start a locator and server:
 ```console
 $ gfsh
@@ -141,15 +141,19 @@ build script):
 
 _build.gradle_
 ```groovy
-apply plugin: 'java'
-apply plugin: 'application'
+plugins {
+  id 'java'
+  id 'application'
+}
 
-mainClassName = 'HelloWorld'
+application {
+  mainClass = 'HelloWorld'
+}
 
 repositories { mavenCentral() }
 dependencies {
-  compile 'org.apache.geode:geode-core:1.4.0'
-  runtime 'org.slf4j:slf4j-log4j12:1.7.24'
+  implementation "org.apache.geode:geode-core:$VERSION"
+  runtimeOnly 'org.slf4j:slf4j-log4j12:1.7.36'
 }
 ```