diff --git a/pom.xml b/pom.xml index 2928956..3cf314c 100644 --- a/pom.xml +++ b/pom.xml @@ -142,6 +142,11 @@ ${spigot.version} provided + + org.spigotmc + plugin-annotations + 1.2.3-SNAPSHOT + org.mockito diff --git a/src/main/java/world/bentobox/acidisland/AcidIslandPladdon.java b/src/main/java/world/bentobox/acidisland/AcidIslandPladdon.java index 569bf2d..6e2155c 100644 --- a/src/main/java/world/bentobox/acidisland/AcidIslandPladdon.java +++ b/src/main/java/world/bentobox/acidisland/AcidIslandPladdon.java @@ -1,8 +1,15 @@ package world.bentobox.acidisland; +import org.bukkit.plugin.java.annotation.dependency.Dependency; +import org.bukkit.plugin.java.annotation.plugin.ApiVersion; +import org.bukkit.plugin.java.annotation.plugin.Plugin; + import world.bentobox.bentobox.api.addons.Addon; import world.bentobox.bentobox.api.addons.Pladdon; +@Plugin(name="AcidIsland", version="1.0") +@ApiVersion(ApiVersion.Target.v1_16) +@Dependency(value = "BentoBox") public class AcidIslandPladdon extends Pladdon { @Override diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml deleted file mode 100644 index f3251ee..0000000 --- a/src/main/resources/plugin.yml +++ /dev/null @@ -1,6 +0,0 @@ -name: AcidIsland -main: world.bentobox.acidisland.AcidIslandPladdon -version: ${version} -api-version: 1.21 -description: AcidIsland -author: tastybento