mirror of https://github.com/halo-dev/halo
移除 hutool-setting
parent
7c3d795cd4
commit
de7b44cbbc
|
@ -38,7 +38,6 @@ dependencies {
|
|||
implementation 'cn.hutool:hutool-core:4.5.0'
|
||||
implementation 'cn.hutool:hutool-crypto:4.5.0'
|
||||
implementation 'cn.hutool:hutool-extra:4.5.0'
|
||||
implementation 'cn.hutool:hutool-setting:4.5.0'
|
||||
implementation 'com.upyun:java-sdk:4.0.1'
|
||||
implementation 'com.qiniu:qiniu-java-sdk:7.2.18'
|
||||
implementation 'com.aliyun.oss:aliyun-sdk-oss:3.4.2'
|
||||
|
|
|
@ -4,8 +4,6 @@ import cn.hutool.core.io.file.FileReader;
|
|||
import cn.hutool.core.io.file.FileWriter;
|
||||
import cn.hutool.core.text.StrBuilder;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
|
||||
import freemarker.template.Configuration;
|
||||
import freemarker.template.TemplateModelException;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -56,20 +54,15 @@ public class ThemeServiceImpl implements ThemeService {
|
|||
* Theme work directory.
|
||||
*/
|
||||
private final Path workDir;
|
||||
|
||||
private final OptionService optionService;
|
||||
private final StringCacheStore cacheStore;
|
||||
private final Configuration configuration;
|
||||
private final ThemeConfigResolvers resolvers;
|
||||
/**
|
||||
* Activated theme id.
|
||||
*/
|
||||
private String activatedThemeId;
|
||||
|
||||
private final OptionService optionService;
|
||||
|
||||
private final StringCacheStore cacheStore;
|
||||
|
||||
private final Configuration configuration;
|
||||
|
||||
private final ThemeConfigResolvers resolvers;
|
||||
|
||||
public ThemeServiceImpl(HaloProperties haloProperties,
|
||||
OptionService optionService,
|
||||
StringCacheStore cacheStore,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
theme.id=viosey_material
|
||||
theme.name=Material
|
||||
theme.website=https://github.com/viosey/hexo-theme-material
|
||||
theme.description=Nature, Pure | ԭ<EFBFBD>ʣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
theme.description=Nature, Pure | 原质,纯粹
|
||||
theme.logo=https://avatars0.githubusercontent.com/u/8141232?s=460&v=4
|
||||
theme.version=1.0
|
||||
theme.author=Viosey
|
||||
|
|
Loading…
Reference in New Issue