Add spigot-plugin-annotations dependency.
This commit is contained in:
parent
7caa688aa0
commit
18e4694129
8
pom.xml
8
pom.xml
|
@ -46,7 +46,7 @@
|
||||||
<java.version>16</java.version>
|
<java.version>16</java.version>
|
||||||
<!-- More visible way how to change dependency versions -->
|
<!-- More visible way how to change dependency versions -->
|
||||||
<spigot.version>1.18.1-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.18.1-R0.1-SNAPSHOT</spigot.version>
|
||||||
<bentobox.version>1.18.0-SNAPSHOT</bentobox.version>
|
<bentobox.version>1.19.0</bentobox.version>
|
||||||
<!-- Revision variable removes warning about dynamic version -->
|
<!-- Revision variable removes warning about dynamic version -->
|
||||||
<revision>${build.version}-SNAPSHOT</revision>
|
<revision>${build.version}-SNAPSHOT</revision>
|
||||||
<!-- This allows to change between versions and snapshots. -->
|
<!-- This allows to change between versions and snapshots. -->
|
||||||
|
@ -114,6 +114,12 @@
|
||||||
<version>${spigot.version}</version>
|
<version>${spigot.version}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.spigotmc</groupId>
|
||||||
|
<artifactId>plugin-annotations</artifactId>
|
||||||
|
<version>1.2.3-SNAPSHOT</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>world.bentobox</groupId>
|
<groupId>world.bentobox</groupId>
|
||||||
<artifactId>bentobox</artifactId>
|
<artifactId>bentobox</artifactId>
|
||||||
|
|
|
@ -1,8 +1,16 @@
|
||||||
package world.bentobox.caveblock;
|
package world.bentobox.caveblock;
|
||||||
|
|
||||||
|
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.Addon;
|
||||||
import world.bentobox.bentobox.api.addons.Pladdon;
|
import world.bentobox.bentobox.api.addons.Pladdon;
|
||||||
|
|
||||||
|
|
||||||
|
@Plugin(name = "Pladdon", version = "1.0")
|
||||||
|
@ApiVersion(ApiVersion.Target.v1_18)
|
||||||
|
@Dependency(value = "BentoBox")
|
||||||
public class CaveBlockPladdon extends Pladdon {
|
public class CaveBlockPladdon extends Pladdon {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
name: Pladdon
|
|
||||||
main: world.bentobox.caveblock.CaveBlockPladdon
|
|
||||||
version: ${version}
|
|
||||||
api-version: 1.17
|
|
||||||
description: A CaveBlock Plugin
|
|
||||||
author: tastybento
|
|
||||||
depend:
|
|
||||||
- BentoBox
|
|
Loading…
Reference in New Issue