Archie
12/09/2024, 10:15 AMiosTest, androidUnitTest, androidInstrumtedTest. I want to share this across multiple module but I can’t seem to figure out how.
My original thought was to create a normal KMP module. and just do
// other module
commonTest.dependencies {
implementation(":myShared:TestModule")
}
I could define the iosTest implementation in iosMain but I don’t know how to specify androidUnitTest and androidUnitTest in this way.
Any suggestion?Michael Krussel
12/09/2024, 2:59 PMandroidUnitTest and androidInstrumentedTest would pull in androidMain. You could create another module for one of the Android places and then change which project is being depended on.