Guys, how are you solving multiple flavors with di...
# compose
z
Guys, how are you solving multiple flavors with different color pallets? I have
app
module which have few differents flavors with different primary color (
ColorPallete.kt with darkColors(...) and lightColors(...)
). In
base
module I have also color pallets (
ColorPallete.kt with darkColors(...) and lightColors(...)
) so I can use those colors through different modules. In debug build everything is perfect but in release R8 doesn't like that and says
ColorPaletteKt is defined multiple times
. How to solve that?