Hi! Some tests in sourceset `jvmTest` in module A ...
# gradle
t
Hi! Some tests in sourceset
jvmTest
in module A complain that
kotlin-reflect
is missing. Module A depends on module B which has its own
jvmTest
which declares the
kotlin-reflect
dependency in the
api
configuration. hnce, shouldn't this dependency be accessible by Module A, too? Is it a bug in the multiplatform plugin or am i using it wrong (or just have a wrong understanding of the
api
and
implementation
configurations)
h
Hi, This behavior is as designed, because test dependencies are never transitive and need to be added to other module as well. Using
api
dependencies in
*Test
source sets actually doesn't make much sense.
t
ah ok. thanks - i'll drop this then 🙂