aboutsummaryrefslogtreecommitdiff
path: root/juick-www/build.gradle
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-03 11:55:56 +0300
committerGravatar Vitaly Takmazov2018-04-03 11:55:56 +0300
commitb9a36a2c020994eed16fbd59b82c453e72c52d0f (patch)
tree8abc32eb3b8d6a3dcd98e17194ebf95b792af3a9 /juick-www/build.gradle
parent75b1989685576fcb1b7198ec90c4dd361587c973 (diff)
boot: conditional xmpp configuration
Diffstat (limited to 'juick-www/build.gradle')
-rw-r--r--juick-www/build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/juick-www/build.gradle b/juick-www/build.gradle
index d33b6522..19b51be6 100644
--- a/juick-www/build.gradle
+++ b/juick-www/build.gradle
@@ -22,9 +22,12 @@ apply plugin: 'war'
apply plugin: 'org.springframework.boot'
dependencies {
+ compile project(':juick-common')
compile project(':juick-server-jdbc')
+ compile project(':juick-server-xmpp')
compile 'com.github.ben-manes.caffeine:caffeine:2.6.2'
compile("org.springframework.boot:spring-boot-starter-cache")
+ compile("org.springframework.boot:spring-boot-starter-web")
compile ('org.springframework.boot:spring-boot-starter-security')
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
providedRuntime 'com.h2database:h2:1.4.196'
@@ -45,6 +48,10 @@ dependencies {
compileFrontend.dependsOn 'yarn'
processResources.dependsOn 'compileFrontend'
+bootWar {
+ exclude('**/com/juick/server/**')
+}
+
bootJar {
launchScript()
}