mirror of
https://github.com/BentoBoxWorld/AcidIsland.git
synced 2024-11-25 03:55:33 +01:00
Switch to use annotations for plugin.yml
This commit is contained in:
parent
f79aeac4b8
commit
3276813674
5
pom.xml
5
pom.xml
@ -142,6 +142,11 @@
|
||||
<version>${spigot.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>plugin-annotations</artifactId>
|
||||
<version>1.2.3-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<!-- Mockito (Unit testing) -->
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
|
@ -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
|
||||
|
@ -1,6 +0,0 @@
|
||||
name: AcidIsland
|
||||
main: world.bentobox.acidisland.AcidIslandPladdon
|
||||
version: ${version}
|
||||
api-version: 1.21
|
||||
description: AcidIsland
|
||||
author: tastybento
|
Loading…
Reference in New Issue
Block a user