// build.gradle.kts import org.jetbrains.compose.desktop.application.dsl.TargetFormat plugins { kotlin("jvm") version "2.0.0" id("org.jetbrains.compose") version "1.8.0" kotlin("plugin.serialization") version "2.0.0" // ⬇️ 이 줄을 추가해 주세요! id("org.jetbrains.kotlin.plugin.compose") version "2.0.0" } group = "com.example" version = "1.0.0" repositories { google() mavenCentral() maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") } dependencies { implementation(compose.desktop.currentOs) implementation(compose.materialIconsExtended) // JWT 라이브러리 implementation("io.jsonwebtoken:jjwt-api:0.11.5") implementation("io.jsonwebtoken:jjwt-impl:0.11.5") implementation("io.jsonwebtoken:jjwt-jackson:0.11.5") // Ktor HTTP 클라이언트 implementation("io.ktor:ktor-client-core:2.3.11") implementation("io.ktor:ktor-client-cio:2.3.11") implementation("io.ktor:ktor-client-logging:2.3.11") // ⬇️ Ktor가 JSON을 처리할 수 있도록 도와주는 라이브러리 추가 implementation("io.ktor:ktor-client-content-negotiation:2.3.11") implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.11") // ⬇️ Kotlinx Serialization 라이브러리 추가 implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0") } kotlin { jvmToolchain(21) } java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } compose.desktop { application { mainClass = "MainKt" nativeDistributions { targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) packageName = "AnalyticsReportGenerator" // 앱 패키지 이름 변경 } } }