https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Jan Stoltman

05/15/2019, 9:16 AM
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

Alexey Belkov [JB]

06/01/2019, 8:45 AM
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

Jan Stoltman

06/01/2019, 2:00 PM
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.
2 Views