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

63 lines
2.2 KiB
Plaintext
Raw Normal View History

2021-03-18 19:11:45 +01:00
/*
* * Copyright (c) 2021 Shabinder Singh
* * This program is free software: you can redistribute it and/or modify
* * it under the terms of the GNU General Public License as published by
* * the Free Software Foundation, either version 3 of the License, or
* * (at your option) any later version.
* *
* * This program is distributed in the hope that it will be useful,
* * but WITHOUT ANY WARRANTY; without even the implied warranty of
* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* * GNU General Public License for more details.
* *
* * You should have received a copy of the GNU General Public License
* * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
2021-02-26 00:59:54 +01:00
import org.jetbrains.compose.compose
2021-01-26 13:54:28 +01:00
plugins {
2021-03-06 18:33:05 +01:00
id("multiplatform-setup")
2021-01-26 13:54:28 +01:00
id("android-setup")
kotlin("plugin.serialization")
}
kotlin {
2021-01-26 13:54:28 +01:00
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-04-28 11:24:56 +02:00
implementation("org.jetbrains.kotlinx:atomicfu:0.16.1")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.0")
implementation("com.shabinder.fuzzywuzzy:fuzzywuzzy:1.0")
implementation(Extras.youtubeDownloader)
implementation(MVIKotlin.rx)
2021-01-26 13:54:28 +01:00
}
}
2021-01-26 20:58:11 +01:00
androidMain {
2021-03-19 16:15:58 +01:00
dependencies {
implementation(compose.materialIconsExtended)
implementation(Extras.Android.razorpay)
implementation(Extras.mp3agic)
implementation("com.github.shabinder:storage-chooser:2.0.4.45")
// implementation(files("$rootDir/libs/mobile-ffmpeg.aar"))
2021-01-26 13:54:28 +01:00
}
}
2021-01-26 20:58:11 +01:00
desktopMain {
2021-03-19 16:15:58 +01:00
dependencies {
implementation(compose.materialIconsExtended)
implementation(Extras.mp3agic)
//implementation(Extras.jaudioTagger)
2021-01-26 13:54:28 +01:00
}
}
2021-03-06 18:33:05 +01:00
jsMain {
dependencies {
2021-03-19 16:15:58 +01:00
implementation(npm("browser-id3-writer", "4.4.0"))
implementation(npm("file-saver", "2.0.4"))
2021-03-06 18:33:05 +01:00
}
}
2021-01-26 13:54:28 +01:00
}
}