mirror of
https://github.com/songoda/UltimateTimber.git
synced 2024-11-15 14:55:46 +01:00
Migrate to dynamic dependecy loading
This commit is contained in:
parent
f65872827d
commit
6a82c260b5
12
pom.xml
12
pom.xml
@ -74,8 +74,18 @@
|
||||
<excludeDefaults>false</excludeDefaults>
|
||||
<includes>
|
||||
<include>**/nms/v*/**</include>
|
||||
<include>**/core/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>
|
||||
|
@ -4,8 +4,9 @@ import com.craftaro.core.SongodaCore;
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.commands.CommandManager;
|
||||
import com.craftaro.core.configuration.Config;
|
||||
import com.craftaro.core.dependency.Dependency;
|
||||
import com.craftaro.core.hooks.LogManager;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.ultimatetimber.commands.CommandGiveAxe;
|
||||
import com.craftaro.ultimatetimber.commands.CommandReload;
|
||||
import com.craftaro.ultimatetimber.commands.CommandToggle;
|
||||
@ -44,6 +45,11 @@ public class UltimateTimber extends SongodaPlugin {
|
||||
return getPlugin(UltimateTimber.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Set<Dependency> getDependencies() {
|
||||
return new HashSet<>();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPluginLoad() {
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ package com.craftaro.ultimatetimber.animation;
|
||||
|
||||
import com.craftaro.core.compatibility.CompatibleHand;
|
||||
import com.craftaro.core.compatibility.CompatibleMaterial;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.ultimatetimber.UltimateTimber;
|
||||
import com.craftaro.ultimatetimber.tree.DetectedTree;
|
||||
import com.craftaro.ultimatetimber.tree.FallingTreeBlock;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package com.craftaro.ultimatetimber.manager;
|
||||
|
||||
import com.craftaro.core.compatibility.CompatibleMaterial;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XBlock;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XBlock;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.ultimatetimber.UltimateTimber;
|
||||
import com.craftaro.ultimatetimber.tree.ITreeBlock;
|
||||
import com.craftaro.ultimatetimber.tree.TreeBlockType;
|
||||
|
@ -3,7 +3,7 @@ package com.craftaro.ultimatetimber.manager;
|
||||
import com.craftaro.core.compatibility.CompatibleMaterial;
|
||||
import com.craftaro.core.compatibility.ServerVersion;
|
||||
import com.craftaro.core.hooks.McMMOHook;
|
||||
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.ultimatetimber.UltimateTimber;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package com.craftaro.ultimatetimber.manager;
|
||||
|
||||
import com.craftaro.core.compatibility.CompatibleMaterial;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.ultimatetimber.UltimateTimber;
|
||||
import com.craftaro.ultimatetimber.tree.DetectedTree;
|
||||
import com.craftaro.ultimatetimber.tree.ITreeBlock;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.craftaro.ultimatetimber.tree;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import java.util.Collections;
|
||||
|
@ -2,7 +2,7 @@ package com.craftaro.ultimatetimber.utils;
|
||||
|
||||
import com.craftaro.core.compatibility.CompatibleMaterial;
|
||||
import com.craftaro.core.compatibility.ServerVersion;
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||
import com.craftaro.ultimatetimber.tree.ITreeBlock;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.block.Block;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.craftaro.ultimatetimber.utils;
|
||||
|
||||
import com.craftaro.core.third_party.com.cryptomorin.xseries.XSound;
|
||||
import com.craftaro.third_party.com.cryptomorin.xseries.XSound;
|
||||
import com.craftaro.ultimatetimber.tree.ITreeBlock;
|
||||
import com.craftaro.ultimatetimber.tree.TreeBlockType;
|
||||
import org.bukkit.Location;
|
||||
|
Loading…
Reference in New Issue
Block a user