From c307c02731bb778abae0761352ebe02cdb4a5cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Levilain?= Date: Mon, 23 Oct 2023 18:43:46 +0200 Subject: [PATCH] feat: move API source to agents projects [breaking change] --- .idea/jarRepositories.xml | 5 ++ .idea/modules.xml | 8 +-- .../shulker-gradle-tools.iml | 12 ++++ ...lker.packages.shulker-proxy-agent.api.iml} | 30 ++++---- ...ackages.shulker-proxy-agent.bungeecord.iml | 58 +++++++-------- ...er.packages.shulker-proxy-agent.common.iml | 58 +++++++-------- ....packages.shulker-proxy-agent.velocity.iml | 58 +++++++-------- .../shulker.packages.shulker-proxy-api.iml | 11 --- ...hulker.packages.shulker-proxy-api.test.iml | 71 ------------------- ...ker.packages.shulker-server-agent.api.iml} | 28 ++++---- ...r.packages.shulker-server-agent.common.iml | 2 +- ...er.packages.shulker-server-agent.paper.iml | 2 +- ...ulker.packages.shulker-server-api.test.iml | 71 ------------------- build.gradle.kts | 37 +++++++++- packages/shulker-proxy-agent/build.gradle.kts | 44 ++++++------ .../shulker-proxy-agent/gradle.properties | 1 - packages/shulker-proxy-agent/project.json | 2 +- .../proxyagent/api/ShulkerProxyAPI.java | 9 +++ .../proxyagent/ProxyInterfaceBungeeCord.kt | 3 +- .../io/shulkermc/proxyagent/ProxyInterface.kt | 3 +- .../proxyagent/api/ShulkerProxyAPIImpl.kt | 36 ++++++++-- .../api/adapters/DirectoryAdapterImpl.kt | 41 ----------- .../proxyagent/domain/ServerPreConnectHook.kt | 3 +- .../features/directory/DirectoryFeature.kt | 4 +- .../proxyagent/features/limbo/LimboFeature.kt | 2 +- .../proxyagent/ProxyInterfaceVelocity.kt | 3 +- packages/shulker-proxy-api/build.gradle.kts | 4 -- packages/shulker-proxy-api/project.json | 37 ---------- .../io/shulkermc/proxyapi/ShulkerProxyAPI.kt | 11 --- .../proxyapi/adapters/DirectoryAdapter.kt | 8 --- .../shulker-server-agent/build.gradle.kts | 26 ++++--- .../shulker-server-agent/gradle.properties | 1 - packages/shulker-server-agent/project.json | 2 +- .../serveragent/api/ShulkerServerAPI.java | 11 +++ .../serveragent/api/ShulkerServerAPIImpl.kt | 21 +++--- .../api/adapters/NetworkAdapterImpl.kt | 22 ------ packages/shulker-server-api/build.gradle.kts | 4 -- packages/shulker-server-api/project.json | 37 ---------- .../shulkermc/serverapi/ShulkerServerAPI.kt | 11 --- .../serverapi/adapters/NetworkAdapter.kt | 10 --- settings.gradle | 2 - 41 files changed, 278 insertions(+), 531 deletions(-) create mode 100644 .idea/modules/packages/shulker-gradle-tools/shulker-gradle-tools.iml rename .idea/modules/packages/{shulker-server-api/shulker.packages.shulker-server-api.main.iml => shulker-proxy-agent/shulker.packages.shulker-proxy-agent.api.iml} (74%) delete mode 100644 .idea/modules/packages/shulker-proxy-api/shulker.packages.shulker-proxy-api.iml delete mode 100644 .idea/modules/packages/shulker-proxy-api/shulker.packages.shulker-proxy-api.test.iml rename .idea/modules/packages/{shulker-proxy-api/shulker.packages.shulker-proxy-api.main.iml => shulker-server-agent/shulker.packages.shulker-server-agent.api.iml} (75%) delete mode 100644 .idea/modules/packages/shulker-server-api/shulker.packages.shulker-server-api.test.iml delete mode 100644 packages/shulker-proxy-agent/gradle.properties create mode 100644 packages/shulker-proxy-agent/src/api/java/io/shulkermc/proxyagent/api/ShulkerProxyAPI.java delete mode 100644 packages/shulker-proxy-agent/src/common/kotlin/io/shulkermc/proxyagent/api/adapters/DirectoryAdapterImpl.kt delete mode 100644 packages/shulker-proxy-api/build.gradle.kts delete mode 100644 packages/shulker-proxy-api/project.json delete mode 100644 packages/shulker-proxy-api/src/main/kotlin/io/shulkermc/proxyapi/ShulkerProxyAPI.kt delete mode 100644 packages/shulker-proxy-api/src/main/kotlin/io/shulkermc/proxyapi/adapters/DirectoryAdapter.kt delete mode 100644 packages/shulker-server-agent/gradle.properties create mode 100644 packages/shulker-server-agent/src/api/java/io/shulkermc/serveragent/api/ShulkerServerAPI.java delete mode 100644 packages/shulker-server-agent/src/common/kotlin/io/shulkermc/serveragent/api/adapters/NetworkAdapterImpl.kt delete mode 100644 packages/shulker-server-api/build.gradle.kts delete mode 100644 packages/shulker-server-api/project.json delete mode 100644 packages/shulker-server-api/src/main/kotlin/io/shulkermc/serverapi/ShulkerServerAPI.kt delete mode 100644 packages/shulker-server-api/src/main/kotlin/io/shulkermc/serverapi/adapters/NetworkAdapter.kt diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index 4670944e..12639098 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -36,5 +36,10 @@