From 4f6e50b55a766dd9880e6110b8d5804f6ae0ffd5 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 14 Sep 2023 12:58:29 +0100 Subject: [PATCH] Make Spring Pulsar's Caffeine cache provider available to test compile See gh-34763 --- spring-boot-project/spring-boot-autoconfigure/build.gradle | 1 + spring-boot-project/spring-boot-dependencies/build.gradle | 2 ++ 2 files changed, 3 insertions(+) diff --git a/spring-boot-project/spring-boot-autoconfigure/build.gradle b/spring-boot-project/spring-boot-autoconfigure/build.gradle index 5eaddf26aab..4860793c6cc 100644 --- a/spring-boot-project/spring-boot-autoconfigure/build.gradle +++ b/spring-boot-project/spring-boot-autoconfigure/build.gradle @@ -240,6 +240,7 @@ dependencies { testImplementation("org.springframework:spring-core-test") testImplementation("org.springframework.graphql:spring-graphql-test") testImplementation("org.springframework.kafka:spring-kafka-test") + testImplementation("org.springframework.pulsar:spring-pulsar-cache-provider-caffeine") testImplementation("org.springframework.security:spring-security-test") testImplementation("org.testcontainers:cassandra") testImplementation("org.testcontainers:couchbase") diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 949a08de979..fe1db65b8b3 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1584,6 +1584,8 @@ bom { group("org.springframework.pulsar") { modules = [ "spring-pulsar", + "spring-pulsar-cache-provider", + "spring-pulsar-cache-provider-caffeine", "spring-pulsar-reactive" ] }