diff options
author | Vitaly Takmazov | 2023-12-06 13:47:09 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-12-06 13:47:51 +0300 |
commit | 151039990178401973f7cc745590a3fe14740ba6 (patch) | |
tree | f0517dcf7c0796b44bdb9e0375f8672eb074596a /src/main/java/com/juick | |
parent | dff2f505ec0946e3487dbaee0ef11cd113b28af6 (diff) |
Move autoconfiguration exclusions to the default configuration
Diffstat (limited to 'src/main/java/com/juick')
-rw-r--r-- | src/main/java/com/juick/API.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/juick/API.java b/src/main/java/com/juick/API.java index 755e4fc4..bc82bb21 100644 --- a/src/main/java/com/juick/API.java +++ b/src/main/java/com/juick/API.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2020, Juick + * Copyright (C) 2008-2023, Juick * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -18,14 +18,11 @@ package com.juick; 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.cache.annotation.EnableCaching; import org.springframework.context.annotation.ComponentScan; @SpringBootApplication -@EnableAutoConfiguration(exclude = { MailSenderAutoConfiguration.class }) @EnableCaching @ComponentScan(basePackages = {"com.juick.config", "com.juick.service", "com.juick.www"}) public class API { |