In a multiplatform project, what's the correct way...
# multiplatform
s
In a multiplatform project, what's the correct way of adding a debug dependency to my android sources? I'm trying to figure out how to add this dependency for my compose unit tests (using robolectric if that matters):
Copy code
debugImplementation("androidx.compose.ui:ui-test-manifest:…")
j
androidDebugImplementation
In a top-level
dependencies { }, not the source set
one wtf slack you suck
😂 4
S 2
Actually maybe it's just debugImplementation in top level
I went looking for an example I thought I had but couldn't find it
s
sorry I'm just seeing this, I had to go sleep after struggling with this for an hour and getting a headache
I can't seem to make it work even by placing it in a top-level dependency block
I've tried adding it in all ways I could find, but
./gradlew library:androidDependencies | grep manifest
is still coming up as empty
actually… your suggestion is working for other dependencies so something else might be going on with my usage of
ui-test-manifest