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-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)
|
2021-02-05 16:44:09 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|