mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-11-21 11:35:13 +01:00
Switch to use annotations for plugin.yml
This commit is contained in:
parent
7e7512549c
commit
9d4d671168
5
pom.xml
5
pom.xml
@ -137,6 +137,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.bskyblock;
|
||||
|
||||
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="BSkyBlock", version="1.0")
|
||||
@ApiVersion(ApiVersion.Target.v1_17)
|
||||
@Dependency(value = "BentoBox")
|
||||
public class BSkyBlockPladdon extends Pladdon {
|
||||
|
||||
@Override
|
||||
|
@ -1,7 +0,0 @@
|
||||
name: BSkyBlock
|
||||
main: world.bentobox.bskyblock.BSkyBlockPladdon
|
||||
version: ${version}
|
||||
api-version: 1.19
|
||||
description: A SkyBlock Plugin
|
||||
author: tastybento
|
||||
|
Loading…
Reference in New Issue
Block a user