Bridge: изменение настроек сервера в реальном времени (onlinemode)
В виду того, что задействуется рефлексия, а spigot не валяется ни на одном репозитарии, для корректной компиляции приходится лепить фейковые классы. Надеюсь в будующем я придумаю как избавится от такого костыля.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
group = 'asys'
|
||||
version = '0.5.3-SNAPSHOT'
|
||||
version = '0.5.4-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
|
||||
@@ -18,6 +18,7 @@ configurations {
|
||||
|
||||
compileJava {
|
||||
dependsOn ':bridge-protocol:compileJava'
|
||||
dependsOn ':bridge-mcserver-fake:compileJava'
|
||||
}
|
||||
|
||||
jar {
|
||||
@@ -32,6 +33,7 @@ ext {
|
||||
|
||||
dependencies {
|
||||
include files(project(':bridge-protocol').sourceSets.main.output.classesDir)
|
||||
compile files(project(':bridge-mcserver-fake').sourceSets.main.output.classesDir)
|
||||
compile (group: 'org.bukkit', name: 'bukkit', version: '1.8.8-R0.1-SNAPSHOT') {
|
||||
exclude group: 'junit'
|
||||
exclude group: 'commons-lang'
|
||||
|
||||
Reference in New Issue
Block a user