修正 starter 的 spring.factories 文件, 设定autoconfiguration

This commit is contained in:
Administrator
2020-11-02 16:37:06 +08:00
parent 8851727cf0
commit 2bb3ca8f5b
23 changed files with 60 additions and 35 deletions

View File

@ -1,13 +0,0 @@
package org.mall.ebtp.cloud.log.starter;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}

View File

@ -0,0 +1,10 @@
package org.mall.ebtp.cloud.log.starter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
@Configuration
@PropertySource("classpath:log-configuration.properties")
public class LogStarterConfiguration {
}

View File

@ -0,0 +1,3 @@
# AutoConfiguration
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.mall.ebtp.cloud.log.starter.LogStarterConfiguration