import org.jetbrains.compose.desktop.application.dsl.TargetFormat plugins { kotlin("jvm") id("org.jetbrains.compose") kotlin("plugin.serialization") version "1.5.30" } group = "com.example" version = "1.0-SNAPSHOT" repositories { mavenCentral() maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") google() } 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(compose.desktop.currentOs) implementation(kotlin("stdlib")) implementation("mysql:mysql-connector-java:8.0.23") implementation("com.github.doyaaaaaken:kotlin-csv-jvm:1.9.2") implementation("org.jetbrains.compose.material:material:1.0.0-beta-02") implementation("org.jetbrains.compose.ui:ui:1.0.0-beta-02") implementation("org.jetbrains.compose.foundation:foundation:1.0.0-beta-02") implementation("org.jetbrains.compose.desktop:desktop:1.0.0-beta-02") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2") implementation("io.ktor:ktor-client-cio:1.6.3") implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30") implementation("com.almworks.sqlite4java:sqlite4java:1.0.392") implementation("io.ktor:ktor-server-netty:1.6.3") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2") implementation("io.ktor:ktor-html-builder:1.6.3") implementation("junit:junit:4.13.1") testImplementation("junit:junit:4.13.1") implementation("org.apache.poi:poi:5.0.0") implementation("org.apache.poi:poi-ooxml:5.0.0") testImplementation("org.junit.jupiter:junit-jupiter:5.8.1") testImplementation("org.junit.jupiter:junit-jupiter:5.8.1") } compose.desktop { application { mainClass = "MainKt" nativeDistributions { targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) packageName = "demo" packageVersion = "1.0.0" } } }