import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { kotlin("jvm") version "2.0.20" application id("io.ktor.plugin") version "2.3.12" } group = "net.taehui" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { implementation("com.fasterxml.jackson.core:jackson-annotations:2.18.0") implementation("com.fasterxml.jackson.core:jackson-core:2.18.0") implementation("com.fasterxml.jackson.core:jackson-databind:2.18.0") implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.0") implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.18.0") implementation("com.github.pemistahl:lingua:1.2.2") implementation("com.google.protobuf:protobuf-java:4.28.2") implementation("com.google.protobuf:protobuf-kotlin:4.28.2") implementation("com.ibm.icu:icu4j:75.1") implementation("com.lmax:disruptor:4.0.0") implementation("com.sun.mail:jakarta.mail:2.0.1") implementation("commons-codec:commons-codec:1.17.1") implementation("commons-io:commons-io:2.17.0") implementation("io.netty:netty-all:4.1.114.Final") implementation("jakarta.mail:jakarta.mail-api:2.1.3") implementation("net.dv8tion:JDA:5.1.2") implementation("org.apache.commons:commons-compress:1.27.1") implementation("org.apache.commons:commons-dbcp2:2.12.0") implementation("org.apache.commons:commons-lang3:3.17.0") implementation("org.apache.httpcomponents.client5:httpclient5:5.3.1") implementation("org.apache.logging.log4j:log4j-core:2.24.1") implementation("org.apache.logging.log4j:log4j-slf4j2-impl:2.24.1") implementation("org.jline:jline:3.27.0") implementation("org.jline:jline-terminal-jansi:3.27.0") implementation("org.jsoup:jsoup:1.18.1") implementation("org.mariadb.jdbc:mariadb-java-client:3.4.1") implementation("org.python:jython-standalone:2.7.4") implementation("org.seleniumhq.selenium:selenium-edge-driver:4.25.0") implementation("org.seleniumhq.selenium:selenium-java:4.25.0") implementation("org.tukaani:xz:1.10") testImplementation(kotlin("test")) } kotlin { jvmToolchain(21) compilerOptions { jvmTarget.set(JvmTarget.JVM_21) } } tasks { test { useJUnitPlatform() } shadowJar { isZip64 = true } } application { mainClass.set("net.taehui.twilight.Twilight") } ktor { fatJar { archiveFileName.set("Twilight.jar") } }