I have an Android app (regular kotlin-android; not multiplatform) that is using the
org.jetbrains.compose
plugin and the Jetbrains compose artifacts (which should redirect to the Google artifacts).
I started writing some tests for it, but the compose artifacts aren't visible in the test code. For example, if I have
implementation(compose.material)
,
android.compose.material.Text
doesn't resolve in a test file in the IDE, even though it runs fine. Adding
testImplementation(compose.material)
doesn't work either. I have to explicitly depend on the Google artifacts in order for the IDE to resolve the type.
I'm using Electric Eel latest alpha.