From 56aea99e8227582aaa8aec53d8816e17f41a3c8b Mon Sep 17 00:00:00 2001 From: John Blum Date: Thu, 14 Apr 2022 17:03:44 -0700 Subject: [PATCH] Declare apache-geode-jetty11 as a test runtime dependency in the spring-geode-autoconfigure module. Replaces the old Apache Geode geode-http-service test runtime dependency, which was based on Eclipse Jetty 9, which causes a conflict with Spring Boot 3 declaring and managing Eclipse Jetty 11 in order to align with the Jakarta EE 9 specification as a baseline. Closes #116. --- .../spring-geode-autoconfigure.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-geode-project/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle b/spring-geode-project/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle index 77bdee66..a040e0f3 100644 --- a/spring-geode-project/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle +++ b/spring-geode-project/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle @@ -28,8 +28,10 @@ dependencies { testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion" + testRuntimeOnly project(':apache-geode-jetty11') + testRuntimeOnly "javax.cache:cache-api" - testRuntimeOnly "org.apache.geode:geode-http-service:$apacheGeodeVersion" + //testRuntimeOnly "org.apache.geode:geode-http-service:$apacheGeodeVersion" testRuntimeOnly "org.apache.geode:geode-web:$apacheGeodeVersion" testRuntimeOnly "org.springframework.boot:spring-boot-starter-jetty" testRuntimeOnly "org.springframework.boot:spring-boot-starter-json"