SpotiFlyer/common/dependency-injection/build.gradle.kts
2021-02-05 21:14:09 +05:30

44 lines
1.3 KiB
Plaintext

plugins {
id("multiplatform-compose-setup")
id("android-setup")
kotlin("plugin.serialization")
}
kotlin {
sourceSets {
commonMain {
dependencies {
implementation(project(":common:data-models"))
implementation(project(":common:database"))
implementation(project(":fuzzywuzzy:app"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.1.1")
implementation(Ktor.clientCore)
implementation(Ktor.clientCio)
implementation(Ktor.clientSerialization)
implementation(Ktor.clientLogging)
implementation(Ktor.clientJson)
implementation(Ktor.auth)
// koin
api(Koin.core)
api(Koin.test)
api(Extras.kermit)
api(Extras.youtubeDownloader)
api(Extras.mp3agic)
}
}
androidMain {
dependencies{
implementation(Ktor.clientAndroid)
}
}
desktopMain {
dependencies{
implementation(Ktor.clientApache)
implementation(Ktor.slf4j)
}
}
}
}