https://kotlinlang.org logo
g

GarouDan

04/09/2019, 2:14 AM
Hi guys, a simple question if we have a target
android
and the source sets
androidMain
and
androidTest
, can we say that
androidTest
will see all
androidMain
definitions and dependencies? Or is it not true?
s

serebit

04/09/2019, 2:19 AM
That is true, yes.
androidTest
should also be able to see and use
internal
declarations within
androidMain
r

russhwolf

04/09/2019, 11:52 AM
Note that for external dependencies there’s this issue https://youtrack.jetbrains.com/issue/KT-29343
g

GarouDan

04/09/2019, 2:37 PM
Oh, I think this is my case @russhwolf. I was finding this very strange, I was able to compile successfully only when I was applying the dependencies on my
androidTest
source set block again and it is somehow an external dependency from another module, since I’m using an structure with an mpp project