From 2fa39606f258a457426bbffa21e112edc8721d61 Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 7 Dec 2021 19:35:56 -0800 Subject: [PATCH] Build with Java (JDK) 17. --- build.gradle | 6 ++++++ pom.xml | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 03fb066..29563bc 100644 --- a/build.gradle +++ b/build.gradle @@ -41,6 +41,12 @@ allprojects { } } +subprojects { + plugins.withType(JavaPlugin) { + sourceCompatibility = JavaVersion.VERSION_17 + } +} + description = 'Spring Test Framework for Apache Geode and VMware Tanzu GemFire using Spring Data.' //ext['spring.version'] = "$springVersion" diff --git a/pom.xml b/pom.xml index 3c15959..d28b37d 100644 --- a/pom.xml +++ b/pom.xml @@ -78,10 +78,11 @@ - 1.8 + 17 3.3 2.19.1 UTF-8 + ${java.version} 1.14.0 3.21.0 4.13.2