- Main.kt: move ConfigStore/AppState outside application {} scope (remember
is not valid outside a composable)
- IosConnector: split runGphoto2/runGphoto2InDir to avoid named+positional
vararg mixing (Kotlin does not allow this)
- ConnectScreen: fix SmartPhone -> Smartphone icon name
- ConnectScreen/BrowseScreen/ImportScreen/SettingsScreen: update deprecated
Icons.Default.ArrowBack to Icons.AutoMirrored.Filled.ArrowBack
- AndroidConnector: remove unused variable assignment in remoteChecksum
- ExifFilter: replace return@filter labels with private helper function to
eliminate ambiguous label warnings
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlin.jvm)
|
|
alias(libs.plugins.kotlin.serialization)
|
|
alias(libs.plugins.compose.multiplatform)
|
|
}
|
|
|
|
group = "com.bolenpad.photophetch"
|
|
version = "1.0.0"
|
|
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
}
|
|
|
|
dependencies {
|
|
implementation(compose.desktop.currentOs)
|
|
implementation(compose.material3)
|
|
implementation(compose.materialIconsExtended)
|
|
implementation(libs.coroutines.core)
|
|
implementation(libs.coroutines.swing)
|
|
implementation(libs.serialization.json)
|
|
implementation(libs.slf4j.api)
|
|
implementation(libs.logback.classic)
|
|
}
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "com.bolenpad.photophetch.MainKt"
|
|
|
|
nativeDistributions {
|
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
|
packageName = "PhotoPhetch"
|
|
packageVersion = "1.0.0"
|
|
description = "Import photos from phones into PhotoPhile"
|
|
vendor = "bolenpad"
|
|
macOS {
|
|
bundleID = "com.bolenpad.photophetch"
|
|
iconFile.set(project.file("src/main/resources/icon.icns"))
|
|
}
|
|
}
|
|
|
|
// Fat JAR for quick distribution
|
|
buildTypes.release.proguard {
|
|
isEnabled = false
|
|
}
|
|
}
|
|
}
|