The dependency on spring-webflux was unnecessary, there was no code
inside spring-ai-retry that made use of it.
Also remove 'optional' from slf4j-api dependency (it's not optional,
if you don't have it on classpath, RetryUtils will fail to load).
Add explicit dependency on spring-webflux for modules that directly
import WebClient.
Fixes #3307
Signed-off-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
(cherry picked from commit cecc046c26)