Hi,
I was trying to build Boot with the newest Gradle 7 milestone to see what we have to do. And while there are certain bigger things like the MavenPluginAction
that need to be addressed, I found a couple of deprecation warnings around setting the duplicatesStrategy
that could be fixed already without too much effort. They are already deprecation warnings now and with 7 it fails.
I went with the warning strategy as I found it quite useful to see what exactly is duplicated instead of just including (or excluding) things. Currently it's the legal files that are duplicated. But let me know if you have a favourite here.
Cheers, Christoph
Comment From: wilkinsona
Thanks, @dreis2211. We already have details of the warnings on ge.spring.io. See https://ge.spring.io/s/3sustfylfr6e4/deprecations?expanded=WyI0Il0 for example. Rather than replacing the deprecation warning with a normal warning, I'd prefer to fix the problem by removing the duplicates and then configuring the duplicates strategy to be fail. https://github.com/spring-projects/spring-boot/issues/23955 is tracking that.
Comment From: dreis2211
Yeah, I looked into the plans already, but I missed this ticket, sorry @wilkinsona