SpotiFlyer/desktop/build.gradle.kts

62 lines
2.1 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-01-26 13:54:28 +01:00
import org.jetbrains.compose.compose
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose")
}
group = "com.shabinder"
version = Versions.versionName
kotlin {
jvm {
compilations.all {
2021-03-18 19:11:45 +01:00
kotlinOptions.jvmTarget = "14"
2021-01-26 13:54:28 +01:00
}
}
sourceSets {
val jvmMain by getting {
dependencies {
implementation(compose.desktop.currentOs)
implementation(project(":common:database"))
2021-01-31 12:33:41 +01:00
implementation(project(":common:dependency-injection"))
2021-02-25 14:28:33 +01:00
implementation(project(":common:compose"))
implementation(project(":common:data-models"))
2021-02-26 00:59:54 +01:00
implementation(project(":common:root"))
2021-02-10 18:25:36 +01:00
implementation(Decompose.decompose)
implementation(Decompose.extensionsCompose)
implementation(MVIKotlin.mvikotlin)
implementation(MVIKotlin.mvikotlinMain)
2021-01-26 13:54:28 +01:00
}
}
val jvmTest by getting
}
}
compose.desktop {
application {
mainClass = "MainKt"
2021-03-18 19:11:45 +01:00
description = "Music Downloader for Spotify, Gaana, Youtube Music."
2021-01-26 13:54:28 +01:00
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "SpotiFlyer"
}
}
}