xyz.erupt.i18n.EruptI18nAutoConfiguration Maven / Gradle / Ivy
package xyz.erupt.i18n;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import xyz.erupt.core.module.EruptModule;
import xyz.erupt.core.module.EruptModuleInvoke;
import xyz.erupt.core.module.ModuleInfo;
/**
* @author YuePeng
* date 2021/3/28 18:51
*/
@Configuration
@ComponentScan
public class EruptI18nAutoConfiguration implements EruptModule {
static {
EruptModuleInvoke.addEruptModule(EruptI18nAutoConfiguration.class);
}
@Override
public ModuleInfo info() {
return ModuleInfo.builder().name("erupt-i18n").build();
}
}