From 151039990178401973f7cc745590a3fe14740ba6 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 6 Dec 2023 13:47:09 +0300 Subject: Move autoconfiguration exclusions to the default configuration --- src/main/java/com/juick/API.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main/java') 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 { -- cgit v1.2.3