Skip to content

Commit

Permalink
PluginAnnotations does not allow setting version dynamically from Mav…
Browse files Browse the repository at this point in the history
…en. Return to a file format. (#117)

* Create plugin.yml

* Update pom.xml

* Update BiomesPladdon.java
  • Loading branch information
BONNe authored Apr 8, 2023
1 parent 482329a commit 4494cdc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,6 @@
<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>
Expand Down
8 changes: 0 additions & 8 deletions src/main/java/world/bentobox/biomes/BiomesPladdon.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,10 @@
package world.bentobox.biomes;


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;


/**
* @author tastybento
*/
@Plugin(name = "Biomes", version = "1.0")
@ApiVersion(ApiVersion.Target.v1_19)
public class BiomesPladdon extends Pladdon
{
@Override
Expand Down
9 changes: 9 additions & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: BentoBox-Biomes
main: world.bentobox.biomes.BiomesPladdon
version: ${project.version}${build.number}
api-version: "1.19"

authors: [BONNe]
contributors: ["The BentoBoxWorld Community"]
website: https://bentobox.world
description: ${project.description}

0 comments on commit 4494cdc

Please sign in to comment.