pihelper-android/desktop/build.gradle.kts

46 lines
1.3 KiB
Text
Raw Permalink Normal View History

2023-08-23 04:14:47 +00:00
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
2024-11-17 00:46:57 +00:00
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.compose)
alias(libs.plugins.jetbrainsCompose)
2023-08-23 04:14:47 +00:00
java
}
group = "com.wbrawner.pihelper"
version = "1.0-SNAPSHOT"
dependencies {
// Note, if you develop a library, you should use compose.desktop.common.
// compose.desktop.currentOs should be used in launcher-sourceSet
// (in a separate module for demo project and in testMain).
// With compose.desktop.common you will also lose @Preview functionality
implementation(project(":shared"))
implementation(compose.desktop.currentOs)
implementation(libs.kotlinx.coroutines.jvm)
2024-11-17 00:46:57 +00:00
implementation(libs.logback.classic)
2023-08-23 04:14:47 +00:00
}
compose.desktop {
application {
mainClass = "MainKt"
nativeDistributions {
includeAllModules = true
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "Pi-helper"
packageVersion = "1.0.0"
macOS {
iconFile.set(project.file("src/main/resources/icon.icns"))
}
windows {
2023-09-07 03:15:19 +00:00
iconFile.set(project.file("src/main/resources/icon.ico"))
2023-08-23 04:14:47 +00:00
}
linux {
2023-09-07 03:15:19 +00:00
iconFile.set(project.file("src/main/resources/icon.png"))
2023-08-23 04:14:47 +00:00
}
}
}
}