Fixed spigot version

This commit is contained in:
BuildTools
2020-11-17 13:32:11 +00:00
parent ff19bb48b5
commit 51b8c3bc20
2 changed files with 7 additions and 1 deletions

View File

@@ -43,6 +43,12 @@ shadowJar {
archiveName = findProperty("plugin-name") + " v" + findProperty("version") + ".jar"
}
processResources {
filesNotMatching(["**/*.png", "**/models/**", "**/textures/**"]) {
expand projectVersion: findProperty("version")
}
}
jar{
archiveName = findProperty("plugin-name") + " v" + findProperty("version") + " " + "unshaded" + ".jar"
}

View File

@@ -1,5 +1,5 @@
name: EcoEnchants
version: ${project.parent.version}
version: ${projectVersion}
main: com.willfp.ecoenchants.EcoEnchantsPlugin
api-version: 1.15
authors: [Auxilor]