Getting… rid of those missing android* source sets warnings on your KMP project cover
While cleaning up the warnings in one of my projects, I’ve noticed that there was one that kept showing up:
The following Kotlin source sets were configured but not added to any Kotlin compilation: * androidAndroidTestRelease * androidTestFixtures * androidTestFixturesDebug * androidTestFixturesRelease You can add a source set to a target’s compilation by connecting it with the compilation’s default source set using ‘dependsOn’. See https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets
Although this issue is already reported at KT-48436, you can temporarily a workaround to resolve it. Open the build.gradle.kts file at the root of your shared project and look for the allprojects section, and add: