import org.jetbrains.compose.desktop.application.dsl.TargetFormat plugins { kotlin("jvm") version "2.0.0" kotlin("plugin.serialization") version "2.0.0" kotlin("plugin.compose") version "2.0.0" // ✅ Add this line id("org.jetbrains.compose") version "1.6.11" } group = "kr.lunatic.bum" version = "1.0-SNAPSHOT" kotlin { jvmToolchain(21) // ✅ Ensure this line is present and set to 21 } repositories { mavenCentral() google() maven("https://maven.datlag.dev/snapshots") } dependencies { // Jetpack Compose for Desktop UI implementation(compose.desktop.currentOs) // Ktor for HTTP Client (LLM API 호출용) val ktorVersion = "2.3.12" implementation("io.ktor:ktor-client-cio:$ktorVersion") implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion") implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion") // Jsoup for HTML Parsing implementation("org.jsoup:jsoup:1.16.1") // Kotlinx Serialization for JSON implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.1") // Selenium for Headless Browser Automation implementation("org.seleniumhq.selenium:selenium-java:4.22.0") implementation("org.slf4j:slf4j-simple:1.7.36") } compose.desktop { application { mainClass = "MainKt" nativeDistributions { targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) packageName = "AutoBlogApp" packageVersion = "1.0.0" } } }