How am I supposed to use `BOM` in a multi module g...
# compose
u
How am I supposed to use
BOM
in a multi module gradle project? Do I really need to
implementation platform(libs.androidx.compose.bom)
in every module that includes a compose dependency?
👌 4
s
Short answer: yes. What we do is we have made a plugin that adds the BOM as a platform dependency and applies the plugin. Then all we need for our nodules would be to add the library dependencies they need.
u
ugh..and since I'm looking inside the BOM it's all the same 1.8.1 coordinate, only material is different (1.3.2)...huge overkill
s
If you're using something like Renovate to always stay up-to-date, then I'm not sure if the BOM is technically that important, though. But we still use it for good measure.