mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-11-30 13:53:23 +01:00
Migrate to dynamic dependency loading
This commit is contained in:
parent
bbcf3e0f77
commit
17c62bcb55
12
pom.xml
12
pom.xml
@ -74,8 +74,18 @@
|
||||
<excludeDefaults>false</excludeDefaults>
|
||||
<includes>
|
||||
<include>**/nms/v*/**</include>
|
||||
<include>**/third_party/**</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/third_party/org/apache/**</exclude>
|
||||
<exclude>**/third_party/net/kyori/**</exclude>
|
||||
<exclude>**/third_party/com/zaxxer/**</exclude>
|
||||
<exclude>**/third_party/org/jooq/**</exclude>
|
||||
<exclude>**/third_party/org/mariadb/**</exclude>
|
||||
<exclude>**/third_party/com/h2database/**</exclude>
|
||||
<exclude>**/third_party/org/h2/**</exclude>
|
||||
<exclude>**/third_party/com/cryptomorin/**</exclude>
|
||||
<exclude>**/third_party/org/reactivestreams/**</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
</configuration>
|
||||
|
@ -9,11 +9,12 @@ import com.craftaro.core.database.Data;
|
||||
import com.craftaro.core.database.DatabaseConnector;
|
||||
import com.craftaro.core.database.MySQLConnector;
|
||||
import com.craftaro.core.database.SQLiteConnector;
|
||||
import com.craftaro.core.dependency.Dependency;
|
||||
import com.craftaro.core.gui.GuiManager;
|
||||
import com.craftaro.core.hooks.EconomyManager;
|
||||
import com.craftaro.core.hooks.HologramManager;
|
||||
import com.craftaro.core.hooks.ProtectionManager;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.core.third_party.de.tr7zw.nbtapi.NBTItem;
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.craftaro.epicfurnaces.commands.CommandBoost;
|
||||
@ -91,6 +92,11 @@ public class EpicFurnaces extends SongodaPlugin {
|
||||
return EpicFurnaces.getPlugin(EpicFurnaces.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Set<Dependency> getDependencies() {
|
||||
return new HashSet<>();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPluginLoad() {
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
package com.craftaro.epicfurnaces.database;
|
||||
|
||||
import com.craftaro.core.database.Data;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.core.third_party.org.jooq.impl.DSL;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.org.jooq.impl.DSL;
|
||||
import com.craftaro.epicfurnaces.EpicFurnaces;
|
||||
import com.craftaro.epicfurnaces.furnace.Furnace;
|
||||
import org.bukkit.Bukkit;
|
||||
|
@ -2,7 +2,7 @@ package com.craftaro.epicfurnaces.database;
|
||||
|
||||
import com.craftaro.core.compatibility.CompatibleMaterial;
|
||||
import com.craftaro.core.database.DatabaseConnector;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.epicfurnaces.furnace.FurnaceBuilder;
|
||||
import com.craftaro.epicfurnaces.EpicFurnaces;
|
||||
import com.craftaro.epicfurnaces.boost.BoostData;
|
||||
|
@ -8,8 +8,8 @@ import com.craftaro.core.gui.GuiManager;
|
||||
import com.craftaro.core.hooks.EconomyManager;
|
||||
import com.craftaro.core.hooks.ProtectionManager;
|
||||
import com.craftaro.core.math.MathUtils;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XSound;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XSound;
|
||||
import com.craftaro.epicfurnaces.EpicFurnaces;
|
||||
import com.craftaro.epicfurnaces.furnace.levels.Level;
|
||||
import com.craftaro.epicfurnaces.settings.Settings;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.craftaro.epicfurnaces.furnace;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.epicfurnaces.furnace.levels.Level;
|
||||
import org.bukkit.Location;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.craftaro.epicfurnaces.furnace.levels;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.epicfurnaces.EpicFurnaces;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.craftaro.epicfurnaces.furnace.levels;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Map;
|
||||
|
@ -4,7 +4,7 @@ import com.craftaro.core.compatibility.CompatibleMaterial;
|
||||
import com.craftaro.core.gui.CustomizableGui;
|
||||
import com.craftaro.core.gui.GuiUtils;
|
||||
import com.craftaro.core.input.ChatPrompt;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.core.utils.NumberUtils;
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.craftaro.core.utils.TimeUtils;
|
||||
|
@ -4,7 +4,7 @@ import com.craftaro.core.compatibility.ServerVersion;
|
||||
import com.craftaro.core.gui.CustomizableGui;
|
||||
import com.craftaro.core.gui.GuiUtils;
|
||||
import com.craftaro.core.input.ChatPrompt;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.core.utils.TextUtils;
|
||||
import com.craftaro.epicfurnaces.settings.Settings;
|
||||
import com.craftaro.epicfurnaces.EpicFurnaces;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package com.craftaro.epicfurnaces.storage;
|
||||
|
||||
import com.craftaro.core.configuration.Config;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.epicfurnaces.EpicFurnaces;
|
||||
import com.craftaro.epicfurnaces.boost.BoostData;
|
||||
import com.craftaro.epicfurnaces.furnace.Furnace;
|
||||
|
Loading…
Reference in New Issue
Block a user