2021-08-23 19:16:20 +02:00
|
|
|
plugins {
|
|
|
|
id("multiplatform-setup")
|
|
|
|
id("multiplatform-setup-test")
|
|
|
|
kotlin("plugin.serialization")
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
/* Targets configuration omitted.
|
|
|
|
* To find out how to configure the targets, please follow the link:
|
|
|
|
* https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#setting-up-targets */
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
2021-09-30 19:16:43 +02:00
|
|
|
with(deps) {
|
|
|
|
implementation(project(":common:data-models"))
|
|
|
|
implementation(project(":common:database"))
|
|
|
|
implementation(project(":common:core-components"))
|
|
|
|
implementation(youtube.downloader)
|
|
|
|
implementation(fuzzy.wuzzy)
|
|
|
|
implementation(kotlinx.datetime)
|
|
|
|
}
|
2021-08-23 19:16:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
androidMain {
|
|
|
|
dependencies {
|
2021-09-30 19:16:43 +02:00
|
|
|
implementation(deps.mp3agic)
|
2021-08-23 19:16:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
desktopMain {
|
|
|
|
dependencies {
|
2021-09-30 19:16:43 +02:00
|
|
|
implementation(deps.mp3agic)
|
|
|
|
implementation(deps.jaffree)
|
2021-08-23 19:16:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
jsMain {
|
|
|
|
dependencies {
|
|
|
|
implementation(npm("browser-id3-writer", "4.4.0"))
|
|
|
|
implementation(npm("file-saver", "2.0.4"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|