mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-05 22:55:58 +00:00
Reduce startup command length
The start scripts contain a huge command that may cause problems on some systems, reportedly at windows. The ClasspathJarPlugin can mitigate this by creating a tiny jar that only contains the classpath of the app. https://sbt-native-packager.readthedocs.io/en/stable/recipes/longclasspath.html#generate-a-classpath-jar
This commit is contained in:
parent
813f34defe
commit
c5fdef9214
16
build.sbt
16
build.sbt
@ -547,7 +547,13 @@ val webapp = project
|
|||||||
|
|
||||||
val joex = project
|
val joex = project
|
||||||
.in(file("modules/joex"))
|
.in(file("modules/joex"))
|
||||||
.enablePlugins(BuildInfoPlugin, JavaServerAppPackaging, DebianPlugin, SystemdPlugin)
|
.enablePlugins(
|
||||||
|
BuildInfoPlugin,
|
||||||
|
JavaServerAppPackaging,
|
||||||
|
DebianPlugin,
|
||||||
|
SystemdPlugin,
|
||||||
|
ClasspathJarPlugin
|
||||||
|
)
|
||||||
.settings(sharedSettings)
|
.settings(sharedSettings)
|
||||||
.settings(testSettingsMUnit)
|
.settings(testSettingsMUnit)
|
||||||
.settings(debianSettings("docspell-joex"))
|
.settings(debianSettings("docspell-joex"))
|
||||||
@ -586,7 +592,13 @@ val joex = project
|
|||||||
|
|
||||||
val restserver = project
|
val restserver = project
|
||||||
.in(file("modules/restserver"))
|
.in(file("modules/restserver"))
|
||||||
.enablePlugins(BuildInfoPlugin, JavaServerAppPackaging, DebianPlugin, SystemdPlugin)
|
.enablePlugins(
|
||||||
|
BuildInfoPlugin,
|
||||||
|
JavaServerAppPackaging,
|
||||||
|
DebianPlugin,
|
||||||
|
SystemdPlugin,
|
||||||
|
ClasspathJarPlugin
|
||||||
|
)
|
||||||
.settings(sharedSettings)
|
.settings(sharedSettings)
|
||||||
.settings(testSettingsMUnit)
|
.settings(testSettingsMUnit)
|
||||||
.settings(debianSettings("docspell-server"))
|
.settings(debianSettings("docspell-server"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user