1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-30 13:13:58 +01:00

Refactor curse plugin a little

Put models in the `model` package, yknow
This commit is contained in:
Henry Le Grys 2021-03-29 13:33:44 +01:00
parent 43ca90f74d
commit b7178a10b6
7 changed files with 7 additions and 5 deletions

View File

@ -2,6 +2,8 @@ package com.skcraft.plugin.curse;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.skcraft.launcher.util.HttpRequest;
import com.skcraft.plugin.curse.model.CurseFileMetadata;
import com.skcraft.plugin.curse.model.CurseMod;
import lombok.RequiredArgsConstructor;
import java.io.File;

View File

@ -6,6 +6,8 @@ import com.skcraft.launcher.builder.FileInfoScanner;
import com.skcraft.launcher.builder.PropertiesApplicator;
import com.skcraft.launcher.model.modpack.FileInstall;
import com.skcraft.launcher.model.modpack.Manifest;
import com.skcraft.plugin.curse.model.CurseFileMetadata;
import com.skcraft.plugin.curse.model.CurseMod;
import lombok.RequiredArgsConstructor;
import lombok.extern.java.Log;

View File

@ -4,7 +4,7 @@ import com.beust.jcommander.internal.Lists;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.skcraft.launcher.builder.DirectoryWalker;
import com.skcraft.plugin.curse.CurseApi;
import com.skcraft.plugin.curse.CurseMod;
import com.skcraft.plugin.curse.model.CurseMod;
import com.skcraft.plugin.curse.model.CurseProject;
import com.skcraft.plugin.curse.model.LoadedMod;
import lombok.Getter;

View File

@ -1,4 +1,4 @@
package com.skcraft.plugin.curse;
package com.skcraft.plugin.curse.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package com.skcraft.plugin.curse;
package com.skcraft.plugin.curse.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.skcraft.launcher.model.modpack.Feature;

View File

@ -2,7 +2,6 @@ package com.skcraft.plugin.curse.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.skcraft.plugin.curse.CurseMod;
import lombok.Data;
import java.util.List;

View File

@ -1,6 +1,5 @@
package com.skcraft.plugin.curse.model;
import com.skcraft.plugin.curse.CurseMod;
import lombok.Data;
import java.io.File;