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;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTransferred() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CompletableFuture<byte[]> retrieveCookie(String s) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public InetSocketAddress getAddress() {
|
||||
return remote;
|
|
@ -21,9 +21,12 @@ java {
|
|||
val platforms = setOf(
|
||||
projects.fabric,
|
||||
projects.bungeecord,
|
||||
projects.bungeecordBase,
|
||||
projects.spigot,
|
||||
projects.spigotBase,
|
||||
projects.standalone,
|
||||
projects.velocity
|
||||
projects.velocity,
|
||||
projects.velocityBase
|
||||
).map { it.dependencyProject }
|
||||
|
||||
subprojects {
|
||||
|
|
|
@ -59,16 +59,23 @@ rootProject.name = "geyser-parent"
|
|||
|
||||
include(":ap")
|
||||
include(":api")
|
||||
include(":bungeecord")
|
||||
include(":fabric")
|
||||
include(":spigot")
|
||||
include(":standalone")
|
||||
include(":velocity")
|
||||
include(":core")
|
||||
|
||||
// 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(":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