mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Move platforms for isolation
This commit is contained in:
parent
f1f30e5d19
commit
bc301fba60
56 changed files with 28 additions and 8 deletions
|
@ -144,6 +144,16 @@ public class GeyserBungeePingPassthrough implements IGeyserPingPassthrough, List
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isTransferred() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CompletableFuture<byte[]> retrieveCookie(String s) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public InetSocketAddress getAddress() {
|
public InetSocketAddress getAddress() {
|
||||||
return remote;
|
return remote;
|
|
@ -21,9 +21,12 @@ java {
|
||||||
val platforms = setOf(
|
val platforms = setOf(
|
||||||
projects.fabric,
|
projects.fabric,
|
||||||
projects.bungeecord,
|
projects.bungeecord,
|
||||||
|
projects.bungeecordBase,
|
||||||
projects.spigot,
|
projects.spigot,
|
||||||
|
projects.spigotBase,
|
||||||
projects.standalone,
|
projects.standalone,
|
||||||
projects.velocity
|
projects.velocity,
|
||||||
|
projects.velocityBase
|
||||||
).map { it.dependencyProject }
|
).map { it.dependencyProject }
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
|
|
|
@ -59,16 +59,23 @@ rootProject.name = "geyser-parent"
|
||||||
|
|
||||||
include(":ap")
|
include(":ap")
|
||||||
include(":api")
|
include(":api")
|
||||||
include(":bungeecord")
|
|
||||||
include(":fabric")
|
include(":fabric")
|
||||||
include(":spigot")
|
|
||||||
include(":standalone")
|
include(":standalone")
|
||||||
include(":velocity")
|
|
||||||
include(":core")
|
include(":core")
|
||||||
|
|
||||||
// Specify project dirs
|
// Specify project dirs
|
||||||
project(":bungeecord").projectDir = file("bootstrap/bungeecord")
|
|
||||||
project(":fabric").projectDir = file("bootstrap/fabric")
|
|
||||||
project(":spigot").projectDir = file("bootstrap/spigot")
|
|
||||||
project(":standalone").projectDir = file("bootstrap/standalone")
|
project(":standalone").projectDir = file("bootstrap/standalone")
|
||||||
project(":velocity").projectDir = file("bootstrap/velocity")
|
|
||||||
|
//todo see what's possible with fabric
|
||||||
|
project(":fabric").projectDir = file("bootstrap/fabric")
|
||||||
|
|
||||||
|
arrayOf("bungeecord", "spigot", "velocity").forEach { platform ->
|
||||||
|
arrayOf("base", "isolated").forEach {
|
||||||
|
var id = ":$platform-$it"
|
||||||
|
// isolated is the new default
|
||||||
|
if (id.endsWith("-isolated")) id = ":$platform"
|
||||||
|
|
||||||
|
include(id)
|
||||||
|
project(id).projectDir = file("bootstrap/$platform/$it")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue