Do I need to add a dependency on `androidx.compose...
# compose-android
e
Do I need to add a dependency on
androidx.compose.ui:ui-tooling
in all modules that have previews, or if there is one module that depends on it in the project it should be good enough? I tried removing it from some modules, and previews seem to be working without it.
m
I guess if it’s an
api
dependency then it should be enough to only add it to a common base module. At least, that’s my experience. Having said that, most of my previews broke when switching to KMP and moving them to
commonMain
. Seems to be an issue with accessing resources defined in module dependencies.