Skip to content

Instantly share code, notes, and snippets.

@romainbsl
Last active June 20, 2020 13:36
Show Gist options
  • Select an option

  • Save romainbsl/640f80dc9e1b42c2e52b2cb32dbe8b24 to your computer and use it in GitHub Desktop.

Select an option

Save romainbsl/640f80dc9e1b42c2e52b2cb32dbe8b24 to your computer and use it in GitHub Desktop.
repositories {
// your repositories
jcenter()
}
kotlin {
jvm("android")
ios()
sourceSets {
val commonMain by getting {
dependencies {
// Kotlin stdlib / coroutines / serialization / ktor-client libraries
implementation("org.kodein.di:kodein-di:7.0.0")
}
}
val androidMain by getting {
dependencies {
// Kotlin stdlib / coroutines / serialization / ktor-client libraries
}
}
val iosMain by getting {
dependencies {
// Kotlin stdlib / coroutines / serialization / ktor-client libraries
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment