Refactor UpdaterCheckerTask

Update checking/downloading/installing can now be configured precisely and more intuitive in the config.
This commit is contained in:
Frank van der Heijden 2021-01-30 14:41:37 +01:00
parent 1fde72e522
commit b46f6fbb1f
No known key found for this signature in database
GPG key ID: 26DA56488D314D11
18 changed files with 395 additions and 302 deletions

View file

@ -1,3 +1,7 @@
plugins {
id 'net.kyori.blossom' version '1.1.0'
}
group = rootProject.group + '.common'
version = rootProject.version
archivesBaseName = rootProject.name + '-Common'
@ -11,6 +15,11 @@ dependencies {
compileOnly 'com.google.code.gson:gson:2.8.6'
}
blossom {
replaceTokenIn('src/main/java/net/frankheijden/serverutils/common/ServerUtilsApp.java')
replaceToken '{version}', version
}
shadowJar {
exclude 'net/frankheijden/serverutilsupdater/**'
exclude 'plugin.yml'