How to import Kotlin Multiplatform module I created

I have created a Kotlin Multiplatform module and would like to use it in an app. How do import it?

Hello, @jsoneaday! What platform are you talking about?

I’ve created a kmp that emits jvm and js. I would like to use the jvm output in a parent jvm kotlin project. I actually did figure this out on my own though. Thanks.

You need compile(project(":modulename")) in your dependencies section of your parent build.gradle file and include “:modulename” in your settings.gradle file.