I am porting a maven JVM Kotlin project to a gradle multiplatform Kotlin project. After creating the default Kotlin multiplatform project from Intellij IDEA, I notice there is a "resources" directory, but the only way I know how to load from the resources directory is JVM specific (this.javaClass.classLoader.getResourceAsStream(name)).
My initial searching has not found a platform independent way to load a resource using Kotlin standard libraries. Is there something I am missing or is the "resources" directory useless in a common module? The reason I need it is to load test data run in both the javascript module and the jvm module.