Move platforms for isolation

This commit is contained in:
Tim203 2024-02-18 19:03:14 +01:00
parent f1f30e5d19
commit bc301fba60
No known key found for this signature in database
56 changed files with 28 additions and 8 deletions

View file

@ -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;

View file

@ -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 {

View file

@ -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")
}
}