twigs/app/build.gradle.kts

62 lines
1.3 KiB
Text
Raw Permalink Normal View History

import java.net.URI
plugins {
java
kotlin("jvm")
application
2022-06-03 02:28:44 +00:00
alias(libs.plugins.shadow)
}
repositories {
mavenLocal()
mavenCentral()
maven {
2021-07-06 01:05:25 +00:00
url = URI("https://repo.maven.apache.org/maven2")
}
}
dependencies {
2021-07-29 16:40:22 +00:00
implementation(project(":api"))
implementation(project(":core"))
2021-08-12 21:22:06 +00:00
implementation(project(":db"))
2021-08-16 03:10:39 +00:00
implementation(project(":web"))
2022-06-03 02:28:44 +00:00
implementation(libs.kotlin.reflect)
implementation(libs.bundles.ktor.server)
implementation(libs.kotlinx.coroutines.core)
2024-02-23 05:13:17 +00:00
implementation(libs.bcrypt)
2022-06-03 02:28:44 +00:00
implementation(libs.logback)
implementation(libs.mail)
implementation(project(mapOf("path" to ":service")))
2021-08-26 13:15:14 +00:00
testImplementation(project(":testhelpers"))
2023-09-27 02:04:55 +00:00
testImplementation(libs.ktor.client.content.negotiation)
testImplementation(libs.ktor.server.test)
}
description = "twigs-server"
2021-08-12 21:22:06 +00:00
val twigsMain = "com.wbrawner.twigs.server.ApplicationKt"
application {
mainClass.set(twigsMain)
}
2021-08-12 21:22:06 +00:00
tasks.shadowJar {
manifest {
attributes("Main-Class" to twigsMain)
archiveBaseName.set("twigs")
archiveClassifier.set("")
archiveVersion.set("")
}
}
2021-08-16 21:25:32 +00:00
2021-08-26 13:15:14 +00:00
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
2023-09-27 13:24:21 +00:00
tasks.test {
reports {
junitXml.required.set(true)
html.required.set(false)
}
}