Ciaran Sloan
08/18/2022, 12:45 PMA
which contains a myFunction()
function in the commonTest
• Module B
is dependent on module A
but I do not have access to myFunction()
in module Bs commonTest
. It is not available for import.
Module B
however does have access to module `A`s classes and functions within commonMain
but the issue seems to be in the commonTest
only. Is this expected? Or how can I ensure that each module that implements module A
also gets access to its public classes and functions within commonTest
?commonTest
dependencies like so:
module-b/build.gradle.kts
sourceSets["commonTest"].dependencies {
implementation(project(":moudle-a"))
}
core-test
module and leaving the functions/casses I want exposed in commonMain
of that module, but this feels like a workaround rather than the solutionGrégory Lureau
08/18/2022, 1:46 PM