First, we add the new project to the settings.gradle
file by adding the line below
include ':SharedCode'
Next, we need to create a SharedCode/build.gradle.kts
file with the following content:
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget