3.5.7-alpha

- better reporting of configuration errors (instead of disabling the plugin, send the error on startup and whenever a command is executed)
- don't check for updates if on a pre-release version
- add infinite rankup loop detection
- add itemh requirement (like the item requirement, but not deductible)
- make it so i only have to change the plugin version in one place
This commit is contained in:
okx-code
2019-08-03 15:29:44 +01:00
parent 58f38489a6
commit 11200862cd
14 changed files with 164 additions and 38 deletions
+16 -4
View File
@@ -1,9 +1,10 @@
plugins {
id 'java'
id "io.freefair.lombok" version "3.8.0"
}
group 'sh.okx'
version '3.5.6'
version '3.5.7-alpha'
repositories {
mavenCentral()
@@ -26,9 +27,6 @@ repositories {
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.6'
annotationProcessor 'org.projectlombok:lombok:1.18.6'
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT'
@@ -42,3 +40,17 @@ dependencies {
}
compile 'com.github.Ben12345rocks:VotingPlugin:5.18.2'
}
// automatically copy the version to plugin.yml
processResources {
inputs.property 'version', project.version
from(sourceSets.main.resources.srcDirs) {
include 'plugin.yml'
expand 'version':project.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'plugin.yml'
}
}