diff --git a/spring-geode-docs/spring-geode-docs.gradle b/spring-geode-docs/spring-geode-docs.gradle index a8c2ad89..6b3ca84c 100644 --- a/spring-geode-docs/spring-geode-docs.gradle +++ b/spring-geode-docs/spring-geode-docs.gradle @@ -42,6 +42,7 @@ asciidoctor { asciidoctorj { + def javaVersion = JavaVersion.current() def githubBaseUrl = "https://github.com/spring-projects/spring-boot-data-geode" def githubTag = snapshotBuild ? 'master' : project.version def githubUrl = "$githubBaseUrl/tree/$githubTag" @@ -55,6 +56,7 @@ asciidoctorj { 'github-samples-url': "${githubUrl}/spring-geode-samples", 'highlightjsdir@': "js/highlight", 'docinfodir@': ".", + 'java-version' : "$javaVersion", 'apache-geode-artifact-version' : "${apacheGeodeVersion}", 'apache-geode-doc-version' : "113", 'apache-geode-src' : "https://github.com/apache/geode/blob/rel/v${apacheGeodeVersion}", diff --git a/spring-geode-docs/src/docs/asciidoc/index.adoc b/spring-geode-docs/src/docs/asciidoc/index.adoc index 68f376c0..6d3a1659 100644 --- a/spring-geode-docs/src/docs/asciidoc/index.adoc +++ b/spring-geode-docs/src/docs/asciidoc/index.adoc @@ -457,6 +457,8 @@ listed below: |=== | Name | Version +| Java (JRE) | {java-version} + | {apache-geode-name} | {apache-geode-version} | Spring Framework | {spring-version}