Skip to content

Commit

Permalink
Improve addon.yml
Browse files Browse the repository at this point in the history
Add build.number at the end of version.
Add repository string.
Add name and description value from maven project.
Add CaveBlock, SkyGrid and Level to softdepend.
  • Loading branch information
BONNe committed Mar 29, 2019
1 parent 4b44dbe commit 98b6051
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<revision>${build.version}-SNAPSHOT</revision>
<!-- This allows to change between versions and snapshots. -->
<build.version>0.4.5</build.version>
<build.number>0</build.number>
<build.number>-LOCAL</build.number>
</properties>

<profiles>
Expand All @@ -70,7 +70,7 @@
</activation>
<properties>
<!-- Override only if necessary -->
<build.number>${env.BUILD_NUMBER}</build.number>
<build.number>-#${env.BUILD_NUMBER}</build.number>
<!-- GIT_BRANCH -->
</properties>
</profile>
Expand All @@ -88,7 +88,8 @@
<properties>
<!-- Override only if necessary -->
<revision>${build.version}</revision>
<!-- GIT_BRANCH -->
<!-- Empties build.number value -->
<build.number></build.number>
</properties>
</profile>
</profiles>
Expand Down
11 changes: 7 additions & 4 deletions src/main/resources/addon.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Biomes
version: ${project.version}
name: ${project.name}
main: world.bentobox.biomes.BiomesAddon
version: ${project.version}${build.number}

repository: 'BentoBoxWorld/Biomes'
authors: [BONNe]
description: Allow players to change biomes on their island
softdepend: AcidIsland, BSkyBlock

softdepend: AcidIsland, BSkyBlock, CaveBlock, SkyGrid, Level
description: ${project.description}

permissions:
bskyblock.biomes:
Expand Down

0 comments on commit 98b6051

Please sign in to comment.