preparing journal module
This commit is contained in:
@@ -18,6 +18,7 @@ dependencies{
|
||||
implementation(project(":core"))
|
||||
implementation(project(":documents"))
|
||||
implementation(project(":files"))
|
||||
implementation(project(":journal"))
|
||||
implementation(project(":legacy"))
|
||||
implementation(project(":markdown"))
|
||||
implementation(project(":messages"))
|
||||
@@ -52,6 +53,7 @@ tasks.jar {
|
||||
":core:jar",
|
||||
":documents:jar",
|
||||
":files:jar",
|
||||
":journal:jar",
|
||||
":legacy:jar",
|
||||
":markdown:jar",
|
||||
":messages:jar",
|
||||
|
||||
@@ -16,6 +16,7 @@ import de.srsoftware.umbrella.core.Util;
|
||||
import de.srsoftware.umbrella.core.exceptions.UmbrellaException;
|
||||
import de.srsoftware.umbrella.documents.DocumentApi;
|
||||
import de.srsoftware.umbrella.files.FileModule;
|
||||
import de.srsoftware.umbrella.journal.JournalModule;
|
||||
import de.srsoftware.umbrella.legacy.*;
|
||||
import de.srsoftware.umbrella.markdown.MarkdownApi;
|
||||
import de.srsoftware.umbrella.message.MessageSystem;
|
||||
@@ -64,6 +65,7 @@ public class Application {
|
||||
var server = HttpServer.create(new InetSocketAddress(port), 0);
|
||||
try {
|
||||
new Translations().bindPath("/api/translations").on(server);
|
||||
new JournalModule().bindPath("/api/journal").on(server);
|
||||
new MessageApi().bindPath("/api/bus").on(server);
|
||||
new MessageSystem(config);
|
||||
new UserModule(config).bindPath("/api/user").on(server);
|
||||
|
||||
Reference in New Issue
Block a user