Refactor UpdaterCheckerTask
Update checking/downloading/installing can now be configured precisely and more intuitive in the config.
This commit is contained in:
parent
1fde72e522
commit
b46f6fbb1f
18 changed files with 395 additions and 302 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue