I don't see SimplePlatform class described in the ...
# multiplatform
a
I don't see SimplePlatform class described in the video

Diving into Kotlin Multiplatform

at timestamp 27m 34s. Anybody tried using it, to define targets like allExceptJs or something?
r
This is where it lives in the compiler https://github.com/JetBrains/kotlin/blob/3ccb72bb1aebb2c82419b14bc4db50b599b24ff0/core/compiler.common/src/org/jetbrains/kotlin/platform/TargetPlatform.kt#L59 I'm not sure whether or not it's exposed to gradle anywhere if you're trying to configure stuff with it.
a
Yeah, that's what I thought
s
Copy code
targets.all {
        if (platformType != KotlinPlatformType.js) {
            // TODO 
        }
    }
PlatformType might be enough for the "allExceptJs" use case.