Hey guys, I would like to add another (non default...
# multiplatform
j
Hey guys, I would like to add another (non default) test sourceset/compilation for android and ios to my project. Is there any example of how such a thing can be done? The official documentation is not very helpful
a
Can you elaborate on why the docs doesn't help in this case? There is an explanation of how to add a custom test sourceset, see https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets (
desktopTest
sourceset). Similarly for adding custom compilations: https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#configuring-compilations
j
I tried, and failed, to follow the exact same documentation you've linked. Maybe I'm just missing something, that's why I hope that someone could share an example with me so that I could spot my mistake.