Slackbot
07/25/2023, 11:22 AMChris Lee
07/25/2023, 11:52 AMChristopher Orr
07/25/2023, 3:11 PMVampire
07/25/2023, 7:05 PMVampire
07/25/2023, 7:06 PMChristopher Orr
07/27/2023, 9:18 AMThomas Broyer
07/27/2023, 10:08 AMThomas Broyer
07/27/2023, 10:09 AMkotlin.version
property.Christopher Orr
07/27/2023, 10:22 AMkotlin.version
to fix things (it turned out we were already using that mechanism to fix our jOOQ dependency as well).
But after the recommendation here, I tried removing the plugin, but kept the Spring Boot BOM. With that, the Kotlin troubles disappeared, and dependencies were no longer being overridden in such a non-obvious way. So I'm happy to have a more "normal" Gradle build, without the plugin 👍Vampire
07/27/2023, 1:03 PMThis is the reason people in this Slack discourage using the plugin.
No. The reason why people recommend not to use the plugin is, because it is an obsolete relict from a time when Gradle did not have built-in BOM support. The reason why people recommend not to use the plugin is, because it adds no value and just makes things harder to understand and manage. The reason why people recommend not to use the plugin is, because even the maintainer of the plugin recommends not to use the plugin but to use the built-in functionality instead. (https://linen.dev/s/gradle-community/t/2579116/what-is-the-proper-way-to-apply-a-bom-in-a-library-project-i#a7d4a60a-ab60-48dc-8477-f3f4462d1e6a)
Do you have any pointers to where use of that plugin is being discouraged?
Sure: always and everywhere, unless you use an ancient Gradle version that does not yet have BOM support built-in.
Christopher Orr
07/27/2023, 5:53 PM