SpotiFlyer/common/dependency-injection/build.gradle.kts

45 lines
1.4 KiB
Plaintext
Raw Normal View History

2021-01-26 13:54:28 +01:00
plugins {
id("multiplatform-compose-setup")
id("android-setup")
kotlin("plugin.serialization")
}
kotlin {
sourceSets {
2021-01-26 20:58:11 +01:00
commonMain {
2021-01-26 13:54:28 +01:00
dependencies {
implementation(project(":common:data-models"))
implementation(project(":common:database"))
2021-01-30 15:10:31 +01:00
implementation(project(":fuzzywuzzy:app"))
2021-02-09 13:31:50 +01:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
2021-01-26 13:54:28 +01:00
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1")
2021-01-31 12:33:41 +01:00
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.1.1")
2021-01-26 13:54:28 +01:00
implementation(Ktor.clientCore)
implementation(Ktor.clientCio)
implementation(Ktor.clientSerialization)
2021-01-29 18:53:17 +01:00
implementation(Ktor.clientLogging)
implementation(Ktor.clientJson)
2021-01-26 13:54:28 +01:00
implementation(Ktor.auth)
2021-01-29 18:53:17 +01:00
// koin
api(Koin.core)
api(Koin.test)
api(Extras.kermit)
api(Extras.youtubeDownloader)
api(Extras.mp3agic)
2021-01-26 13:54:28 +01:00
}
}
2021-01-26 20:58:11 +01:00
androidMain {
2021-01-26 13:54:28 +01:00
dependencies{
implementation(Ktor.clientAndroid)
}
}
2021-01-26 20:58:11 +01:00
desktopMain {
2021-01-26 13:54:28 +01:00
dependencies{
2021-01-29 18:53:17 +01:00
implementation(Ktor.clientApache)
implementation(Ktor.slf4j)
2021-01-26 13:54:28 +01:00
}
}
}
}