first commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user