Fix auto-updater failing

- Implemented a new self-reload system, which will boot up a separate plugin to load ServerUtils back up again.
This commit is contained in:
Frank van der Heijden 2020-09-29 19:09:40 +02:00
parent e2a9fb1dc3
commit 2c1c92fef6
No known key found for this signature in database
GPG key ID: 26DA56488D314D11
10 changed files with 75 additions and 7 deletions

View file

@ -4,8 +4,16 @@ archivesBaseName = rootProject.name + '-Common'
repositories {
mavenCentral()
flatDir { dirs 'src/main/resources' }
}
dependencies {
compileOnly name: 'ServerUtilsUpdater'
compileOnly 'com.google.code.gson:gson:2.8.0'
}
shadowJar {
exclude 'net/frankheijden/serverutilsupdater/**'
exclude 'plugin.yml'
exclude 'bungee.yml'
}