Files
Umbrella/backend/build.gradle.kts
Stephan Richter b918d453cb implemented user login.
next: find a solution for routing
2025-06-30 21:11:42 +02:00

32 lines
763 B
Kotlin

import org.gradle.jvm.tasks.Jar
description = "Umbrella : Backend"
plugins {
application
}
application{
mainClass = "de.srsoftware.umbrella.backend.Application"
}
dependencies{
implementation(project(":core"))
implementation(project(":translations"))
implementation(project(":user"))
implementation(project(":web"))
implementation("de.srsoftware:tools.optionals:1.0.0")
implementation("de.srsoftware:tools.util:2.0.3")
}
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)
}