mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +05:30
43 lines
1.1 KiB
Kotlin
43 lines
1.1 KiB
Kotlin
import org.jetbrains.compose.compose
|
|
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
|
|
|
plugins {
|
|
kotlin("multiplatform")
|
|
id("org.jetbrains.compose") version "1.0.0-alpha4-build348"
|
|
}
|
|
|
|
group = "dev.msfjarvis.claw"
|
|
|
|
version = "1.0"
|
|
|
|
kotlin {
|
|
jvm { compilations.all { kotlinOptions.jvmTarget = "11" } }
|
|
sourceSets {
|
|
val jvmMain by getting {
|
|
dependencies {
|
|
implementation(projects.common)
|
|
implementation(libs.aurora.component)
|
|
implementation(libs.aurora.skin)
|
|
implementation(libs.aurora.window)
|
|
implementation(compose.desktop.currentOs)
|
|
}
|
|
}
|
|
val jvmTest by getting
|
|
}
|
|
}
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "MainKt"
|
|
jvmArgs += listOf("-Xmx1G")
|
|
nativeDistributions {
|
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
|
packageName = "Claw"
|
|
packageVersion = "1.0.0"
|
|
description = "Desktop client for lobste.rs link aggregation site"
|
|
copyright = "© 2021 Harsh Shandilya. All rights reserved."
|
|
vendor = "Harsh Shandilya"
|
|
includeAllModules = false
|
|
}
|
|
}
|
|
}
|