aboutsummaryrefslogtreecommitdiff
path: root/juick-server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-16 14:57:21 +0300
committerGravatar Vitaly Takmazov2018-03-16 14:57:21 +0300
commitd71db6c54fca9d5735f38c0cb3fa624ae11d4d1c (patch)
tree3e2f8440dd98f6324a17f951e4644e8103038f5f /juick-server
parent9a02c729ea1b3e908f582b235794bc6e28aab0f5 (diff)
server: exclude boot mail autoconfiguration
Diffstat (limited to 'juick-server')
-rw-r--r--juick-server/src/main/java/com/juick/server/ApiServer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/ApiServer.java b/juick-server/src/main/java/com/juick/server/ApiServer.java
index 3133b1af..5d273f37 100644
--- a/juick-server/src/main/java/com/juick/server/ApiServer.java
+++ b/juick-server/src/main/java/com/juick/server/ApiServer.java
@@ -1,11 +1,14 @@
package com.juick.server;
import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.mail.MailSenderAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
@SpringBootApplication
+@EnableAutoConfiguration(exclude = { MailSenderAutoConfiguration.class })
public class ApiServer extends SpringBootServletInitializer {
@Override