You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
614 B
28 lines
614 B
|
|
import org.gradle.jvm.tasks.Jar |
|
|
|
description = "Umbrella : Backend" |
|
|
|
plugins { |
|
application |
|
} |
|
|
|
application{ |
|
mainClass = "de.srsoftware.umbrella.backend.Application" |
|
} |
|
|
|
dependencies{ |
|
implementation(project(":translations")) |
|
implementation(project(":user")) |
|
implementation(project(":web")) |
|
} |
|
|
|
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) |
|
} |