mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-22 17:14:32 +01:00
62 lines
2.1 KiB
Plaintext
62 lines
2.1 KiB
Plaintext
import org.jetbrains.compose.compose
|
|
|
|
plugins {
|
|
id("multiplatform-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.1.0")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.1.1")
|
|
implementation(Ktor.clientCore)
|
|
implementation(Ktor.clientSerialization)
|
|
implementation(Ktor.clientLogging)
|
|
implementation(Ktor.clientJson)
|
|
implementation(Ktor.auth)
|
|
// koin
|
|
api(Koin.core)
|
|
api(Koin.test)
|
|
|
|
api(Extras.kermit)
|
|
}
|
|
}
|
|
androidMain {
|
|
dependencies{
|
|
implementation(compose.materialIconsExtended)
|
|
implementation(Koin.android)
|
|
implementation(Ktor.clientAndroid)
|
|
implementation(Extras.Android.fetch)
|
|
implementation(Extras.Android.razorpay)
|
|
api(Extras.youtubeDownloader)
|
|
api(Extras.mp3agic)
|
|
//api(files("$rootDir/libs/mobile-ffmpeg.aar"))
|
|
}
|
|
}
|
|
desktopMain {
|
|
dependencies{
|
|
implementation(compose.materialIconsExtended)
|
|
implementation(Ktor.clientApache)
|
|
implementation(Ktor.slf4j)
|
|
api(Extras.youtubeDownloader)
|
|
api(Extras.mp3agic)
|
|
}
|
|
}
|
|
jsMain {
|
|
dependencies {
|
|
implementation(project(":common:data-models"))
|
|
implementation(Ktor.clientJs)
|
|
implementation(npm("browser-id3-writer","4.4.0"))
|
|
implementation(npm("file-saver","2.0.4"))
|
|
//implementation(npm("@types/file-saver","2.0.1",generateExternals = true))
|
|
}
|
|
}
|
|
}
|
|
}
|