accessors for the source sets of other targets (or custom source sets) will be generated if you create a convention plugin for Kotlin Multiplatform and define all the targets/custom source sets in there. Gradle will then be able to generate accessors for them, so you could have