Point Spring Boot's JCache auto-configuration at ehcache.xml

Proprietary

Spring Boot's Ehcache 2 auto-configuration reads ehcache.xml from the root of the classpath without being told to, and its JCache auto-configuration does not. Where a Spring Boot application declares no cache manager of its own, this sets spring.cache.jcache.config to classpath:ehcache.xml in the application.properties or application.yml beside each ehcache.xml.

io.moderne.java.ehcache.ConfigureSpringBootJCache
mod run . --recipe=io.moderne.java.ehcache.ConfigureSpringBootJCache

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.