diff --git a/build.gradle b/build.gradle index 24e7231..23aa953 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { } group = 'com.majinnaibu.minecraft.plugins.' -version = '0.2-SNAPSHOT' +version = '0.2.0-SNAPSHOT' description = "ScoreKeeper" @@ -26,3 +26,9 @@ tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' // options.compilerArgs << "-Xlint:deprecation" } + +processResources { + filesMatching('plugin.yml') { + expand(project.properties) + } +} diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index c5a6c40..0555cec 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: ScoreKeeper main: com.majinnaibu.minecraft.plugins.scorekeeper.ScoreKeeperPlugin -version: 0.1.0 +version: ${version} api-version: 1.21 commands: score-get: