Files
Umbrella/backend/build.gradle.kts
2025-06-27 21:43:54 +02:00

28 lines
630 B
Kotlin

import org.gradle.jvm.tasks.Jar
description = "Umbrella : Backend"
plugins {
application
}
application{
mainClass = "de.srsoftware.umbrella.backend.Application"
}
dependencies{
implementation(project(":translations"))
implementation(project(":web"))
implementation("de.srsoftware:tools.http:6.0.0")
}
tasks.jar {
manifest.attributes["Main-Class"] = "de.srsoftware.umbrella.backend.Application"
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
val dependencies = configurations
.runtimeClasspath
.get()
.map(::zipTree) // OR .map { zipTree(it) }
from(dependencies)
}