pihelper-android/desktop/build.gradle.kts
William Brawner dba5313c74
Some checks failed
Build & Test / Run Unit Tests (push) Has been cancelled
Build & Test / Validate (push) Successful in 2m28s
fixup! Bump various dependencies
2024-11-16 17:49:53 -07:00

45 lines
1.3 KiB
Text

import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.compose)
alias(libs.plugins.jetbrainsCompose)
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)
implementation(libs.logback.classic)
}
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 {
iconFile.set(project.file("src/main/resources/icon.ico"))
}
linux {
iconFile.set(project.file("src/main/resources/icon.png"))
}
}
}
}