Does anyone have advice for ignoring common tests on a specific platform (native) while continuing to run them on other platforms (jvm)? I tried creating a custom annotation class and typealiasing to
kotlin.test.Ignore
only on native (following guide here), but this strategy fails at runtime with unresolved symbol errors...
Matas Lauzadis
01/06/2025, 8:16 PM
Fixed it! I was missing a constructor...
before:
Copy code
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
public expect annotation class IgnoreNative
after:
Copy code
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
public expect annotation class IgnoreNative()