blakelee
03/14/2025, 12:51 AMandroidUnitTest
that contains a class. I then import library B into library A and add it as a dependency e.g. androidUnitTest.dependencies { implementation(projects.libraryB) }
. library A can not see the class that I have in library B no matter what I try. Is this a KMP limitation? I’ve tried many different suggestions around hereblakelee
03/14/2025, 12:53 AMkotlin {
androidTarget {
unitTestVariant.sourceSetTree.set(KotlinSourceSetTree.test)
}
}
Plus this
android {
sourceSets["test"].kotlin.srcDir("src/androidUnitTest/kotlin")
}
Plus trying to create a normal Android library and not a KMP one.Winson Chiu
03/14/2025, 1:20 AMblakelee
03/14/2025, 1:36 AMephemient
03/14/2025, 9:54 AM