import java.net.URI plugins { java kotlin("jvm") application alias(libs.plugins.shadow) } repositories { mavenLocal() mavenCentral() maven { url = URI("https://repo.maven.apache.org/maven2") } } dependencies { implementation(project(":api")) implementation(project(":core")) implementation(project(":db")) implementation(project(":frontend")) implementation(libs.kotlin.reflect) implementation(libs.bundles.ktor.server) implementation(libs.kotlinx.coroutines.core) implementation(libs.logback) implementation(libs.mail) testImplementation(project(":testhelpers")) testImplementation(libs.junit.jupiter.api) testRuntimeOnly(libs.junit.jupiter.engine) } description = "twigs-server" val twigsMain = "com.wbrawner.twigs.server.ApplicationKt" application { mainClass.set(twigsMain) } tasks.shadowJar { manifest { attributes("Main-Class" to twigsMain) archiveBaseName.set("twigs") archiveClassifier.set("") archiveVersion.set("") } } tasks.getByName("test") { useJUnitPlatform() }