Skip to content

Instantly share code, notes, and snippets.

@GuilhE
Created October 21, 2024 15:35
Show Gist options
  • Save GuilhE/4bb4e724f4182aae3c1e1a1c451276df to your computer and use it in GitHub Desktop.
Save GuilhE/4bb4e724f4182aae3c1e1a1c451276df to your computer and use it in GitHub Desktop.
kotlin {
androidTarget()
listOf(iosArm64(), iosSimulatorArm64()).forEach { iosTarget ->
iosTarget.binaries.framework {
baseName = "MagicDataLayer"
export(projects.dataManagers)
export(projects.dataModels)
}
}
sourceSets {
commonMain.dependencies {
implementation(projects.coreNetwork)
implementation(projects.coreDatabase)
api(projects.dataManagers)
api(projects.dataModels)
implementation(libs.kmp.koin.core)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment