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.
64 lines
1.8 KiB
64 lines
1.8 KiB
import org.gradle.jvm.tasks.Jar |
|
|
|
description = "Umbrella : Backend" |
|
|
|
plugins { |
|
application |
|
} |
|
|
|
application{ |
|
mainClass = "de.srsoftware.umbrella.backend.Application" |
|
} |
|
|
|
dependencies{ |
|
implementation(project(":bookmark")); |
|
implementation(project(":company")) |
|
implementation(project(":contact")) |
|
implementation(project(":core")) |
|
implementation(project(":documents")) |
|
implementation(project(":items")) |
|
implementation(project(":legacy")) |
|
implementation(project(":markdown")) |
|
implementation(project(":messages")) |
|
implementation(project(":notes")) |
|
implementation(project(":project")) |
|
implementation(project(":tags")) |
|
implementation(project(":task")) |
|
implementation(project(":time")) |
|
implementation(project(":translations")) |
|
implementation(project(":user")) |
|
implementation(project(":web")) |
|
implementation(project(":wiki")) |
|
|
|
implementation("de.srsoftware:configuration.json:1.0.3") |
|
implementation("de.srsoftware:tools.slf4j2syslog:1.0.1") // this provides a slf4j implementation that forwards to System.Logger |
|
} |
|
|
|
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) |
|
dependsOn( |
|
":bookmark:jar", |
|
":company:jar", |
|
":contact:jar", |
|
":core:jar", |
|
":documents:jar", |
|
":items:jar", |
|
":legacy:jar", |
|
":markdown:jar", |
|
":messages:jar", |
|
":notes:jar", |
|
":project:jar", |
|
":tags:jar", |
|
":task:jar", |
|
":time:jar", |
|
":translations:jar", |
|
":user:jar", |
|
":web:jar", |
|
":wiki:jar") |
|
} |