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() maven { url = uri("https://company/com/maven2") } google() maven("https://maven.datlag.dev/snapshots") } dependencies { // Jetpack Compose for Desktop UI implementation(compose.desktop.currentOs) // ⭐️ [추가] 이미지 로딩 라이브러리 Coil // ⭐️ [추가] 새로운 Coil 3 라이브러리 implementation("io.coil-kt.coil3:coil-compose-core:3.0.0-alpha06") implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0-alpha06") // Coil 3의 OkHttp Fetcher는 OkHttp 라이브러리가 별도로 필요합니다. implementation("com.squareup.okhttp3:okhttp:4.12.0") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-swing:1.8.0") // 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" } } }