Moves version string out of plugin.yml.

This commit is contained in:
Tom Hicks
2025-07-14 01:08:09 -07:00
parent acbd708ffc
commit 114f935522
2 changed files with 8 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ plugins {
} }
group = 'com.majinnaibu.minecraft.plugins.' group = 'com.majinnaibu.minecraft.plugins.'
version = '0.2-SNAPSHOT' version = '0.2.0-SNAPSHOT'
description = "ScoreKeeper" description = "ScoreKeeper"
@@ -26,3 +26,9 @@ tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' options.encoding = 'UTF-8'
// options.compilerArgs << "-Xlint:deprecation" // options.compilerArgs << "-Xlint:deprecation"
} }
processResources {
filesMatching('plugin.yml') {
expand(project.properties)
}
}

View File

@@ -1,6 +1,6 @@
name: ScoreKeeper name: ScoreKeeper
main: com.majinnaibu.minecraft.plugins.scorekeeper.ScoreKeeperPlugin main: com.majinnaibu.minecraft.plugins.scorekeeper.ScoreKeeperPlugin
version: 0.1.0 version: ${version}
api-version: 1.21 api-version: 1.21
commands: commands:
score-get: score-get: