Project init by claude
This commit is contained in:
1 parent
0f63311c6a
commit
830765cb13
7 files changed
+345
No files matched your search
@@ -0,0 +1,47 @@
|
||||
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "2.1.0"
|
||||
id("org.jetbrains.compose") version "1.7.1"
|
||||
id("org.jetbrains.kotlin.plugin.compose") version "2.1.0"
|
||||
kotlin("plugin.serialization") version "2.1.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(compose.desktop.currentOs)
|
||||
|
||||
// Global hotkeys
|
||||
implementation("com.github.kwhat:jnativehook:2.2.2")
|
||||
|
||||
// AnyType API (HTTP)
|
||||
val ktorVersion = "3.0.0"
|
||||
implementation("io.ktor:ktor-client-core:$ktorVersion")
|
||||
implementation("io.ktor:ktor-client-cio:$ktorVersion")
|
||||
implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
|
||||
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
|
||||
|
||||
// Coroutines (Swing/AWT dispatcher)
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-swing:1.9.0")
|
||||
}
|
||||
|
||||
compose.desktop {
|
||||
application {
|
||||
mainClass = "ch.ergon.anytask.MainKt"
|
||||
|
||||
nativeDistributions {
|
||||
targetFormats(TargetFormat.Dmg)
|
||||
packageName = "AnyTask"
|
||||
packageVersion = "1.0.0"
|
||||
|
||||
macOS {
|
||||
bundleID = "ch.ergon.anytask"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||