mirror of
https://github.com/BentoBoxWorld/CaveBlock.git
synced 2024-11-14 10:15:22 +01:00
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>
|
||||
<!-- More visible way how to change dependency versions -->
|
||||
<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>${build.version}-SNAPSHOT</revision>
|
||||
<!-- This allows to change between versions and snapshots. -->
|
||||
@ -114,6 +114,12 @@
|
||||
<version>${spigot.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>plugin-annotations</artifactId>
|
||||
<version>1.2.3-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>world.bentobox</groupId>
|
||||
<artifactId>bentobox</artifactId>
|
||||
|
@ -1,8 +1,16 @@
|
||||
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.Pladdon;
|
||||
|
||||
|
||||
@Plugin(name = "Pladdon", version = "1.0")
|
||||
@ApiVersion(ApiVersion.Target.v1_18)
|
||||
@Dependency(value = "BentoBox")
|
||||
public class CaveBlockPladdon extends Pladdon {
|
||||
|
||||
@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
Block a user