mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-25 20:25:28 +01:00
Create plugin.yml (#282)
* Create plugin.yml The annotations do not provide the option to define the version dynamically from maven. This should fix that. * Remove Spigot Plugin Annotations * Remove plugin-annotation repo
This commit is contained in:
parent
9c42a8d007
commit
78c67b6d2f
5
pom.xml
5
pom.xml
@ -164,11 +164,6 @@
|
||||
<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,5 @@
|
||||
package world.bentobox.level;
|
||||
|
||||
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;
|
||||
|
||||
@ -11,8 +8,6 @@ import world.bentobox.bentobox.api.addons.Pladdon;
|
||||
* @author tastybento
|
||||
*
|
||||
*/
|
||||
@Plugin(name="Level", version="1.0")
|
||||
@ApiVersion(ApiVersion.Target.v1_16)
|
||||
public class LevelPladdon extends Pladdon {
|
||||
@Override
|
||||
public Addon getAddon() {
|
||||
|
9
src/main/resources/plugin.yml
Normal file
9
src/main/resources/plugin.yml
Normal file
@ -0,0 +1,9 @@
|
||||
name: BentoBox-Level
|
||||
main: world.bentobox.level.LevelPladdon
|
||||
version: ${project.version}${build.number}
|
||||
api-version: "1.19"
|
||||
|
||||
authors: [tastybento]
|
||||
contributors: ["The BentoBoxWorld Community"]
|
||||
website: https://bentobox.world
|
||||
description: ${project.description}
|
Loading…
Reference in New Issue
Block a user