chore: setting the version for plugin.yml (#422)

This commit is contained in:
TreemanKing 2024-05-18 10:33:12 +10:00 committed by Sekwah
parent 7fbfe57506
commit e13f1d54b3
2 changed files with 8 additions and 1 deletions

View File

@ -83,6 +83,13 @@ allprojects {
buildSubmodules.finalizedBy build
}
tasks.processResources {
def files = ["plugin.yml", "bungee.yml"]
filesMatching(files) {
expand(["pluginVersion": project.version])
}
}
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16

View File

@ -1,6 +1,6 @@
main: com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin
name: AdvancedPortals
version: 1.0.0
version: ${pluginVersion}
author: sekwah41
description: An advanced portals plugin for bukkit.
api-version: 1.13