61 lines
1.8 KiB
Plaintext
61 lines
1.8 KiB
Plaintext
// 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.desktop.windows_x64)
|
|
implementation(compose.desktop.macos_x64)
|
|
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")
|
|
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")
|
|
|
|
// ⬇️ SLF4J 로거 경고 해결을 위해 이 줄을 추가해 주세요!
|
|
implementation("org.slf4j:slf4j-simple:2.0.13")
|
|
}
|
|
|
|
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" // 앱 패키지 이름 변경
|
|
}
|
|
}
|
|
} |