Skip to content

Commit 2bf9bc3

Browse files
committed
Remove Guava cache support
This commit removes `GuavaCache` and support classes. Caffeine supersedes the caching support in the Google Guava library with an actively maintained Java 8+ version in standalone form. As it is the only Guava feature Spring framework integrates with, this commit removes effectively any reference to Guava. Issue: SPR-13797
1 parent 7e783dd commit 2bf9bc3

File tree

9 files changed

+6
-699
lines changed

9 files changed

+6
-699
lines changed

build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ configure(allprojects) { project ->
4343
ext.freemarkerVersion = "2.3.23"
4444
ext.groovyVersion = "2.4.7"
4545
ext.gsonVersion = "2.7"
46-
ext.guavaVersion = "19.0"
4746
ext.hamcrestVersion = "1.3"
4847
ext.hibernate5Version = "5.2.1.Final"
4948
ext.hibval5Version = "5.2.4.Final"
@@ -612,7 +611,6 @@ project("spring-context-support") {
612611
optional(project(":spring-tx")) // for Quartz support
613612
optional("javax.mail:javax.mail-api:${javamailVersion}")
614613
optional("javax.cache:cache-api:1.0.0")
615-
optional("com.google.guava:guava:${guavaVersion}")
616614
optional("com.github.ben-manes.caffeine:caffeine:${caffeineVersion}")
617615
optional("net.sf.ehcache:ehcache:${ehcacheVersion}")
618616
optional("org.quartz-scheduler:quartz:2.2.3")

spring-context-support/src/main/java/org/springframework/cache/guava/GuavaCache.java

Lines changed: 0 additions & 165 deletions
This file was deleted.

0 commit comments

Comments
 (0)