From 40f2800ad2b321207b0c1913bff6e0519bba7eac Mon Sep 17 00:00:00 2001 From: connorhartley Date: Fri, 8 Sep 2023 02:37:40 +1200 Subject: [PATCH] add jar in jar adventure loading --- api/build.gradle.kts | 7 +- .../kotlin/apollo.base-conventions.gradle.kts | 1 - .../apollo.parent-conventions.gradle.kts | 28 ++-- .../apollo.shadow-conventions.gradle.kts | 6 +- build-logic/src/main/kotlin/extensions.kt | 85 +++++++++++ bukkit-example/build.gradle.kts | 6 +- bukkit/build.gradle.kts | 26 ++-- .../apollo/ApolloBukkitPlatform.java | 25 +++- .../tntcountdown/TntCountdownModuleImpl.java | 2 +- .../apollo/wrapper/BukkitApolloPlayer.java | 2 +- .../apollo/loader/BukkitPlatformLoader.java | 62 ++++++++ .../resources/plugin.yml | 2 +- bungee/build.gradle.kts | 27 ++-- .../apollo/ApolloBungeePlatform.java | 21 ++- .../apollo/loader/BungeePlatformLoader.java | 62 ++++++++ .../resources/plugin.yml | 2 +- common/build.gradle.kts | 6 +- extra/loader/build.gradle.kts | 3 + .../apollo/loader/DynamicClassLoader.java | 132 ++++++++++++++++++ .../apollo/loader/DynamicDependencies.java | 58 ++++++++ .../apollo/loader/PlatformPlugin.java | 49 +++++++ gradle/libs.versions.toml | 4 +- gradle/wrapper/gradle-wrapper.jar | Bin 61608 -> 63375 bytes gradle/wrapper/gradle-wrapper.properties | 3 +- gradlew | 12 +- settings.gradle.kts | 1 + velocity/build.gradle.kts | 23 +-- 27 files changed, 544 insertions(+), 111 deletions(-) create mode 100644 bukkit/src/platform-loader/java/com/lunarclient/apollo/loader/BukkitPlatformLoader.java rename bukkit/src/{main => platform-loader}/resources/plugin.yml (52%) create mode 100644 bungee/src/platform-loader/java/com/lunarclient/apollo/loader/BungeePlatformLoader.java rename bungee/src/{main => platform-loader}/resources/plugin.yml (52%) create mode 100644 extra/loader/build.gradle.kts create mode 100644 extra/loader/src/main/java/com/lunarclient/apollo/loader/DynamicClassLoader.java create mode 100644 extra/loader/src/main/java/com/lunarclient/apollo/loader/DynamicDependencies.java create mode 100644 extra/loader/src/main/java/com/lunarclient/apollo/loader/PlatformPlugin.java diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 605b4f77..aa15faab 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -43,7 +43,8 @@ val velocitySource by sourceSets.register("velocity") { } dependencies { - api(projects.extra.apolloExtraAdventure4) + api(project(":extra:apollo-extra-adventure4")) + api(libs.geantyref) val bukkit = bukkitConfig.name @@ -89,10 +90,6 @@ tasks { source(sourceSets.map { it.allJava }) classpath += sourceSets.map { it.compileClasspath }.reduce { first, second -> first + second } } - - assemble { - dependsOn(shadowJar) - } } artifacts { diff --git a/build-logic/src/main/kotlin/apollo.base-conventions.gradle.kts b/build-logic/src/main/kotlin/apollo.base-conventions.gradle.kts index d1b0c6a9..48db4d5a 100644 --- a/build-logic/src/main/kotlin/apollo.base-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/apollo.base-conventions.gradle.kts @@ -5,7 +5,6 @@ import java.util.regex.Pattern import java.util.stream.Collectors plugins { - java `java-library` id("checkstyle") id("com.diffplug.spotless") diff --git a/build-logic/src/main/kotlin/apollo.parent-conventions.gradle.kts b/build-logic/src/main/kotlin/apollo.parent-conventions.gradle.kts index 2b0f1682..fb0bc6e3 100644 --- a/build-logic/src/main/kotlin/apollo.parent-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/apollo.parent-conventions.gradle.kts @@ -3,17 +3,17 @@ plugins { id("org.jetbrains.gradle.plugin.idea-ext") } -eclipse { - val shadowJar = tasks.getByPath(":apollo-api:shadowJar") - synchronizationTasks(shadowJar) -} - -idea { - if(project != null) { - (project as ExtensionAware).extensions["settings"].run { - (this as ExtensionAware).extensions.getByType(org.jetbrains.gradle.ext.TaskTriggersConfig::class).run { - afterSync(":apollo-api:shadowJar") - } - } - } -} +//eclipse { +// val shadowJar = tasks.getByPath(":apollo-api:shadowJar") +// synchronizationTasks(shadowJar) +//} +// +//idea { +// if(project != null) { +// (project as ExtensionAware).extensions["settings"].run { +// (this as ExtensionAware).extensions.getByType(org.jetbrains.gradle.ext.TaskTriggersConfig::class).run { +// afterSync(":apollo-api:shadowJar") +// } +// } +// } +//} diff --git a/build-logic/src/main/kotlin/apollo.shadow-conventions.gradle.kts b/build-logic/src/main/kotlin/apollo.shadow-conventions.gradle.kts index 8f19313c..38b138f8 100644 --- a/build-logic/src/main/kotlin/apollo.shadow-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/apollo.shadow-conventions.gradle.kts @@ -13,14 +13,10 @@ tasks { val shadowJar = named("shadowJar") { archiveClassifier.set("") configureRelocations() + configureExclusions() } assemble { dependsOn(shadowJar) } } - -fun ShadowJar.configureRelocations() { - relocate("com.google.protobuf", "com.lunarclient.apollo.libs.protobuf") - relocate("org.spongepowered.configurate", "com.lunarclient.apollo.libs.configurate") -} diff --git a/build-logic/src/main/kotlin/extensions.kt b/build-logic/src/main/kotlin/extensions.kt index 6d8b265d..27184bf6 100644 --- a/build-logic/src/main/kotlin/extensions.kt +++ b/build-logic/src/main/kotlin/extensions.kt @@ -1,3 +1,5 @@ +import com.github.jengelman.gradle.plugins.shadow.ShadowPlugin +import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar import org.gradle.api.Project import org.gradle.api.plugins.JavaPluginExtension import org.gradle.api.publish.PublishingExtension @@ -9,6 +11,89 @@ fun JavaPluginExtension.javaTarget(version: Int) { toolchain.languageVersion.set(JavaLanguageVersion.of(version)) } +fun ShadowJar.configureRelocations() { + relocate("com.google.protobuf", "com.lunarclient.apollo.libs.protobuf") + relocate("org.spongepowered.configurate", "com.lunarclient.apollo.libs.configurate") +} + +fun ShadowJar.configureExclusions() { + exclude("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA") +} + +fun Project.setupDynamicLoader() { + extensions.configure { + val loaderCompileOnlyConfig = configurations.register("loaderCompileOnly") + val loaderImplementationConfig = configurations.register("loaderImplementation") + + val main by sourceSets + + val loaderSource by sourceSets.register("platform-loader") { + configurations.named(this.compileOnlyConfigurationName) { + extendsFrom(loaderCompileOnlyConfig.get()) + } + + configurations.named(this.implementationConfigurationName) { + extendsFrom(loaderImplementationConfig.get()) + } + } + + configurations.named("compileOnly") { + extendsFrom(loaderCompileOnlyConfig.get()) + extendsFrom(loaderImplementationConfig.get()) + } + + val shadowJar by tasks.named("shadowJar", ShadowJar::class) { + archiveClassifier.set("all") + } + + val shadowJarLoader by tasks.creating(ShadowJar::class) { + archiveClassifier.set("") + configurations = listOf(loaderImplementationConfig.get()) + + dependsOn(shadowJar) + + from(loaderSource.output) + + into("platform/") { + from(shadowJar.outputs) + rename { "libs.jarinjar" } + } + + configureExclusions() + } + + tasks.named("assemble") { + dependsOn(shadowJarLoader) + } + } +} + +fun Project.setupDynamicDependency(configurationName: String, shadowTaskName: String, jarPath: String, jarName: String) { + extensions.configure { + val configuration = configurations.register(configurationName) + + configurations.named("compileOnly") { + extendsFrom(configuration.get()) + } + + val shadowTask by tasks.register(shadowTaskName, ShadowJar::class) { + archiveClassifier.set("${configurationName}-all") + configurations = listOf(configuration.get()) + + configureExclusions() + } + + tasks.named("shadowJarLoader", ShadowJar::class) { + dependsOn(shadowTask) + + into(jarPath) { + from(shadowTask.outputs) + rename { "${jarName}.jarinjar" } + } + } + } +} + fun Project.publishJar() { configurePublication { from(components["java"]) diff --git a/bukkit-example/build.gradle.kts b/bukkit-example/build.gradle.kts index ff10b1af..c2e4d456 100644 --- a/bukkit-example/build.gradle.kts +++ b/bukkit-example/build.gradle.kts @@ -5,8 +5,6 @@ plugins { dependencies { compileOnly(libs.bukkit.api) - compileOnlyApi(projects.extra.apolloExtraAdventure4) - compileOnlyApi(projects.apolloApi) { - targetConfiguration = "bukkit" - } + compileOnly(project(":extra:apollo-extra-adventure4")) + compileOnly(project(path = ":apollo-api", configuration = "bukkit")) } diff --git a/bukkit/build.gradle.kts b/bukkit/build.gradle.kts index 1fae310a..58332e3c 100644 --- a/bukkit/build.gradle.kts +++ b/bukkit/build.gradle.kts @@ -2,28 +2,18 @@ plugins { id("apollo.shadow-conventions") } -val adventure4Config = configurations.register("adventure4") +setupDynamicLoader() + +setupDynamicDependency("adventure4", "shadowJarAdventure4", "adventure/4/", "libs") dependencies { - compileOnly(libs.bukkit.api) compileOnly(libs.bukkit) - val adventure4 = adventure4Config.name - adventure4(projects.extra.apolloExtraAdventure4) - - api(projects.apolloApi) { - targetConfiguration = "shadow" - } - - api(projects.apolloCommon) -} + api(project(path = ":apollo-api", configuration = "shadow")) + api(project(":apollo-common")) -tasks { - shadowJar { - from(sourceSets.main.get().output) + "loaderCompileOnly"(libs.bukkit.api) + "loaderImplementation"(project(":extra:apollo-extra-loader")) - into("adventure/4/") { - from(adventure4Config.get().resolve().map { zipTree(it) }) - } - } + "adventure4"(project(":extra:apollo-extra-adventure4")) } diff --git a/bukkit/src/main/java/com/lunarclient/apollo/ApolloBukkitPlatform.java b/bukkit/src/main/java/com/lunarclient/apollo/ApolloBukkitPlatform.java index 5362289b..125ee932 100644 --- a/bukkit/src/main/java/com/lunarclient/apollo/ApolloBukkitPlatform.java +++ b/bukkit/src/main/java/com/lunarclient/apollo/ApolloBukkitPlatform.java @@ -24,6 +24,7 @@ package com.lunarclient.apollo; import com.google.protobuf.Any; +import com.lunarclient.apollo.loader.PlatformPlugin; import com.lunarclient.apollo.module.ApolloModuleManagerImpl; import com.lunarclient.apollo.module.beam.BeamModule; import com.lunarclient.apollo.module.beam.BeamModuleImpl; @@ -81,16 +82,28 @@ * * @since 1.0.0 */ -public final class ApolloBukkitPlatform extends JavaPlugin implements ApolloPlatform, Listener { +public final class ApolloBukkitPlatform implements PlatformPlugin, ApolloPlatform, Listener { @Getter private static ApolloBukkitPlatform instance; + @Getter private final JavaPlugin plugin; + + /** + * Constructs a new {@link ApolloBukkitPlatform}. + * + * @param plugin the plugin instance + * @since 1.0.0 + */ + public ApolloBukkitPlatform(JavaPlugin plugin) { + this.plugin = plugin; + } + @Override public void onEnable() { ApolloBukkitPlatform.instance = this; ApolloManager.bootstrap(this); - this.getServer().getPluginManager().registerEvents(this, this); + this.plugin.getServer().getPluginManager().registerEvents(this, this.plugin); ((ApolloModuleManagerImpl) Apollo.getModuleManager()) .addModule(BeamModule.class, new BeamModuleImpl()) @@ -112,13 +125,13 @@ public void onEnable() { .addModule(VignetteModule.class, new VignetteModuleImpl()) .addModule(WaypointModule.class, new WaypointModuleImpl()); - ApolloManager.loadConfiguration(this.getDataFolder().toPath()); + ApolloManager.loadConfiguration(this.plugin.getDataFolder().toPath()); ((ApolloModuleManagerImpl) Apollo.getModuleManager()).enableModules(); - Messenger messenger = this.getServer().getMessenger(); - messenger.registerOutgoingPluginChannel(this, ApolloManager.PLUGIN_MESSAGE_CHANNEL); - messenger.registerIncomingPluginChannel(this, ApolloManager.PLUGIN_MESSAGE_CHANNEL, + Messenger messenger = this.plugin.getServer().getMessenger(); + messenger.registerOutgoingPluginChannel(this.plugin, ApolloManager.PLUGIN_MESSAGE_CHANNEL); + messenger.registerIncomingPluginChannel(this.plugin, ApolloManager.PLUGIN_MESSAGE_CHANNEL, (channel, player, bytes) -> this.handlePacket(player, bytes) ); diff --git a/bukkit/src/main/java/com/lunarclient/apollo/module/tntcountdown/TntCountdownModuleImpl.java b/bukkit/src/main/java/com/lunarclient/apollo/module/tntcountdown/TntCountdownModuleImpl.java index bcb787f5..4a927173 100644 --- a/bukkit/src/main/java/com/lunarclient/apollo/module/tntcountdown/TntCountdownModuleImpl.java +++ b/bukkit/src/main/java/com/lunarclient/apollo/module/tntcountdown/TntCountdownModuleImpl.java @@ -60,7 +60,7 @@ public final class TntCountdownModuleImpl extends TntCountdownModule implements @Override protected void onEnable() { - Bukkit.getPluginManager().registerEvents(this, ApolloBukkitPlatform.getInstance()); + Bukkit.getPluginManager().registerEvents(this, ApolloBukkitPlatform.getInstance().getPlugin()); } @Override diff --git a/bukkit/src/main/java/com/lunarclient/apollo/wrapper/BukkitApolloPlayer.java b/bukkit/src/main/java/com/lunarclient/apollo/wrapper/BukkitApolloPlayer.java index c7c1d9e2..83cf17ad 100644 --- a/bukkit/src/main/java/com/lunarclient/apollo/wrapper/BukkitApolloPlayer.java +++ b/bukkit/src/main/java/com/lunarclient/apollo/wrapper/BukkitApolloPlayer.java @@ -83,7 +83,7 @@ public boolean hasPermission(String permissionNode) { @Override public void sendPacket(byte[] messages) { - this.player.sendPluginMessage(ApolloBukkitPlatform.getInstance(), ApolloManager.PLUGIN_MESSAGE_CHANNEL, messages); + this.player.sendPluginMessage(ApolloBukkitPlatform.getInstance().getPlugin(), ApolloManager.PLUGIN_MESSAGE_CHANNEL, messages); } } diff --git a/bukkit/src/platform-loader/java/com/lunarclient/apollo/loader/BukkitPlatformLoader.java b/bukkit/src/platform-loader/java/com/lunarclient/apollo/loader/BukkitPlatformLoader.java new file mode 100644 index 00000000..5ff3cc8b --- /dev/null +++ b/bukkit/src/platform-loader/java/com/lunarclient/apollo/loader/BukkitPlatformLoader.java @@ -0,0 +1,62 @@ +/* + * This file is part of Apollo, licensed under the MIT License. + * + * Copyright (c) 2023 Moonsworth + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +package com.lunarclient.apollo.loader; + +import org.bukkit.plugin.java.JavaPlugin; + +/** + * The bukkit loading plugin. + * + * @since 1.0.0 + */ +public class BukkitPlatformLoader extends JavaPlugin { + private static final String PLUGIN_CLASS = "com.lunarclient.apollo.ApolloBukkitPlatform"; + + private final PlatformPlugin plugin; + + /** + * Creates a new bukkit platform loader. + * + * @since 1.0.0 + */ + public BukkitPlatformLoader() { + DynamicClassLoader classLoader = new DynamicClassLoader( + DynamicDependencies.discoverDependencies(), + this.getClass().getClassLoader() + ); + + this.plugin = classLoader.createPlugin(JavaPlugin.class, this, BukkitPlatformLoader.PLUGIN_CLASS); + } + + @Override + public void onEnable() { + this.plugin.onEnable(); + } + + @Override + public void onDisable() { + this.plugin.onDisable(); + } + +} diff --git a/bukkit/src/main/resources/plugin.yml b/bukkit/src/platform-loader/resources/plugin.yml similarity index 52% rename from bukkit/src/main/resources/plugin.yml rename to bukkit/src/platform-loader/resources/plugin.yml index 2920bfe4..bfd8edfb 100644 --- a/bukkit/src/main/resources/plugin.yml +++ b/bukkit/src/platform-loader/resources/plugin.yml @@ -1,4 +1,4 @@ name: Apollo-Bukkit -main: com.lunarclient.apollo.ApolloBukkitPlatform +main: com.lunarclient.apollo.loader.BukkitPlatformLoader version: 0.1.0-SNAPSHOT author: Moonsworth diff --git a/bungee/build.gradle.kts b/bungee/build.gradle.kts index 127dca1b..c98470b4 100644 --- a/bungee/build.gradle.kts +++ b/bungee/build.gradle.kts @@ -2,27 +2,16 @@ plugins { id("apollo.shadow-conventions") } -val adventure4Config = configurations.register("adventure4") +setupDynamicLoader() -dependencies { - compileOnly(libs.bungee) - - val adventure4 = adventure4Config.name - adventure4(projects.extra.apolloExtraAdventure4) - - api(projects.apolloApi) { - targetConfiguration = "shadow" - } +setupDynamicDependency("adventure4", "shadowJarAdventure4", "adventure/4/", "libs") - api(projects.apolloCommon) -} +dependencies { + api(project(path = ":apollo-api", configuration = "shadow")) + api(project(":apollo-common")) -tasks { - shadowJar { - from(sourceSets.main.get().output) + "loaderCompileOnly"(libs.bungee) + "loaderImplementation"(project(":extra:apollo-extra-loader")) - into("adventure/4/") { - from(adventure4Config.get().resolve().map { zipTree(it) }) - } - } + "adventure4"(project(":extra:apollo-extra-adventure4")) } diff --git a/bungee/src/main/java/com/lunarclient/apollo/ApolloBungeePlatform.java b/bungee/src/main/java/com/lunarclient/apollo/ApolloBungeePlatform.java index 16f0f631..dda0e446 100644 --- a/bungee/src/main/java/com/lunarclient/apollo/ApolloBungeePlatform.java +++ b/bungee/src/main/java/com/lunarclient/apollo/ApolloBungeePlatform.java @@ -24,6 +24,7 @@ package com.lunarclient.apollo; import com.google.common.base.Charsets; +import com.lunarclient.apollo.loader.PlatformPlugin; import com.lunarclient.apollo.module.ApolloModuleManagerImpl; import com.lunarclient.apollo.player.ApolloPlayerManagerImpl; import com.lunarclient.apollo.wrapper.BungeeApolloPlayer; @@ -41,22 +42,34 @@ * * @since 1.0.0 */ -public final class ApolloBungeePlatform extends Plugin implements ApolloPlatform, Listener { +public final class ApolloBungeePlatform implements PlatformPlugin, ApolloPlatform, Listener { @Getter private static ApolloBungeePlatform instance; + @Getter private final Plugin plugin; + + /** + * Constructs a new {@link ApolloBungeePlatform}. + * + * @param plugin the plugin instance + * @since 1.0.0 + */ + public ApolloBungeePlatform(Plugin plugin) { + this.plugin = plugin; + } + @Override public void onEnable() { ApolloBungeePlatform.instance = this; - this.getProxy().getPluginManager().registerListener(this, this); + this.plugin.getProxy().getPluginManager().registerListener(this.plugin, this); ApolloManager.bootstrap(this); - ApolloManager.loadConfiguration(this.getDataFolder().toPath()); + ApolloManager.loadConfiguration(this.plugin.getDataFolder().toPath()); ((ApolloModuleManagerImpl) Apollo.getModuleManager()).enableModules(); - this.getProxy().registerChannel(ApolloManager.PLUGIN_MESSAGE_CHANNEL); + this.plugin.getProxy().registerChannel(ApolloManager.PLUGIN_MESSAGE_CHANNEL); ApolloManager.saveConfiguration(); } diff --git a/bungee/src/platform-loader/java/com/lunarclient/apollo/loader/BungeePlatformLoader.java b/bungee/src/platform-loader/java/com/lunarclient/apollo/loader/BungeePlatformLoader.java new file mode 100644 index 00000000..fc984dea --- /dev/null +++ b/bungee/src/platform-loader/java/com/lunarclient/apollo/loader/BungeePlatformLoader.java @@ -0,0 +1,62 @@ +/* + * This file is part of Apollo, licensed under the MIT License. + * + * Copyright (c) 2023 Moonsworth + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +package com.lunarclient.apollo.loader; + +import net.md_5.bungee.api.plugin.Plugin; + +/** + * The bungee loading plugin. + * + * @since 1.0.0 + */ +public class BungeePlatformLoader extends Plugin { + private static final String PLUGIN_CLASS = "com.lunarclient.apollo.ApolloBungeePlatform"; + + private final PlatformPlugin plugin; + + /** + * Creates a new bungee platform loader. + * + * @since 1.0.0 + */ + public BungeePlatformLoader() { + DynamicClassLoader classLoader = new DynamicClassLoader( + DynamicDependencies.discoverDependencies(), + this.getClass().getClassLoader() + ); + + this.plugin = classLoader.createPlugin(Plugin.class, this, BungeePlatformLoader.PLUGIN_CLASS); + } + + @Override + public void onEnable() { + this.plugin.onEnable(); + } + + @Override + public void onDisable() { + this.plugin.onDisable(); + } + +} diff --git a/bungee/src/main/resources/plugin.yml b/bungee/src/platform-loader/resources/plugin.yml similarity index 52% rename from bungee/src/main/resources/plugin.yml rename to bungee/src/platform-loader/resources/plugin.yml index d482dd1b..1cbb05e3 100644 --- a/bungee/src/main/resources/plugin.yml +++ b/bungee/src/platform-loader/resources/plugin.yml @@ -1,4 +1,4 @@ name: Apollo-Bungee -main: com.lunarclient.apollo.ApolloBungeePlatform +main: com.lunarclient.apollo.loader.BungeePlatformLoader version: 0.1.0-SNAPSHOT author: Moonsworth diff --git a/common/build.gradle.kts b/common/build.gradle.kts index a002b8ee..da7ebffc 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -3,11 +3,9 @@ plugins { } dependencies { - compileOnlyApi(projects.extra.apolloExtraAdventure4) + compileOnly(project(":extra:apollo-extra-adventure4")) - api(projects.apolloApi) { - targetConfiguration = "shadow" - } + api(project(path = ":apollo-api", configuration = "shadow")) api(libs.protobuf) api(libs.configurate.core) diff --git a/extra/loader/build.gradle.kts b/extra/loader/build.gradle.kts new file mode 100644 index 00000000..8e0c1fc6 --- /dev/null +++ b/extra/loader/build.gradle.kts @@ -0,0 +1,3 @@ +plugins { + id("apollo.base-conventions") +} diff --git a/extra/loader/src/main/java/com/lunarclient/apollo/loader/DynamicClassLoader.java b/extra/loader/src/main/java/com/lunarclient/apollo/loader/DynamicClassLoader.java new file mode 100644 index 00000000..1e5a6ebb --- /dev/null +++ b/extra/loader/src/main/java/com/lunarclient/apollo/loader/DynamicClassLoader.java @@ -0,0 +1,132 @@ +/* + * This file is part of Apollo, licensed under the MIT License. + * + * Copyright (c) 2023 Moonsworth + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +package com.lunarclient.apollo.loader; + +import java.io.InputStream; +import java.lang.reflect.Constructor; +import java.net.URL; +import java.net.URLClassLoader; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.StandardCopyOption; +import java.util.Arrays; +import java.util.UUID; + +/** + * Provides a class loader that allows dependencies to be dynamically loaded. + * + * @since 1.0.0 + */ +public final class DynamicClassLoader extends URLClassLoader { + + static { + ClassLoader.registerAsParallelCapable(); + } + + /** + * Extracts the jar from the specified resource location into usable + * URL. + * + * @param loader the class loader + * @param resourcePath the resource path + * @return the url + * @since 1.0.0 + */ + private static URL extractJar(ClassLoader loader, String resourcePath) { + URL jarInJar = loader.getResource(resourcePath); + if(jarInJar == null) { + throw new RuntimeException("Unable to locate jar!"); + } + + Path path; + try { + path = Files.createTempFile("apollo-" + UUID.randomUUID().toString().substring(0, 8), ".jar.tmp"); + } catch(Exception exception) { + throw new RuntimeException("Unable to create temporary jar!", exception); + } + + path.toFile().deleteOnExit(); + + try(InputStream inputStream = jarInJar.openStream()) { + Files.copy(inputStream, path, StandardCopyOption.REPLACE_EXISTING); + } catch(Exception exception) { + throw new RuntimeException("Unable to copy jar to temporary path!", exception); + } + + try { + return path.toUri().toURL(); + } catch(Exception exception) { + throw new RuntimeException("Unable to get url from temporary jar path!", exception); + } + } + + /** + * Constructs a new {@link DynamicClassLoader}. + * + * @param resources the jars to load + * @param parent the parent class loader + * @since 1.0.0 + */ + public DynamicClassLoader(String[] resources, ClassLoader parent) { + super( + Arrays.stream(resources) + .map(resource -> DynamicClassLoader.extractJar(parent, resource)) + .toArray(URL[]::new), + parent + ); + } + + /** + * Creates an instance of the provided plugin class. + * + * @param pluginLoaderType the plugin loader class + * @param pluginLoaderInstance the plugin loader instance + * @param pluginClass the plugin class + * @param the platform type + * @return the new platform plugin + * @since 1.0.0 + */ + public PlatformPlugin createPlugin(Class pluginLoaderType, T pluginLoaderInstance, String pluginClass) { + Class plugin; + try { + plugin = this.loadClass(pluginClass).asSubclass(PlatformPlugin.class); + } catch (ReflectiveOperationException e) { + throw new RuntimeException("Unable to load plugin class!", e); + } + + Constructor constructor; + try { + constructor = plugin.getConstructor(pluginLoaderType); + } catch (ReflectiveOperationException e) { + throw new RuntimeException("Unable to get plugin constructor!", e); + } + + try { + return constructor.newInstance(pluginLoaderInstance); + } catch (ReflectiveOperationException e) { + throw new RuntimeException("Unable to create plugin instance!", e); + } + } + +} diff --git a/extra/loader/src/main/java/com/lunarclient/apollo/loader/DynamicDependencies.java b/extra/loader/src/main/java/com/lunarclient/apollo/loader/DynamicDependencies.java new file mode 100644 index 00000000..53f2b919 --- /dev/null +++ b/extra/loader/src/main/java/com/lunarclient/apollo/loader/DynamicDependencies.java @@ -0,0 +1,58 @@ +/* + * This file is part of Apollo, licensed under the MIT License. + * + * Copyright (c) 2023 Moonsworth + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +package com.lunarclient.apollo.loader; + +import java.util.ArrayList; +import java.util.List; + +/** + * Provides a utility for dynamic dependencies. + * + * @since 1.0.0 + */ +public final class DynamicDependencies { + + /** + * Returns an array of dependency resource paths to be loaded dynamically. + * + * @return an array of dynamic dependencies + * @since 1.0.0 + */ + public static String[] discoverDependencies() { + List resources = new ArrayList<>(); + resources.add("platform/libs.jarinjar"); + + try { + Class.forName("net.kyori.adventure.Adventure"); + } catch(Exception ignored) { + resources.add("adventure/4/libs.jarinjar"); + } + + return resources.toArray(new String[0]); + } + + private DynamicDependencies() { + } + +} diff --git a/extra/loader/src/main/java/com/lunarclient/apollo/loader/PlatformPlugin.java b/extra/loader/src/main/java/com/lunarclient/apollo/loader/PlatformPlugin.java new file mode 100644 index 00000000..a66a93f6 --- /dev/null +++ b/extra/loader/src/main/java/com/lunarclient/apollo/loader/PlatformPlugin.java @@ -0,0 +1,49 @@ +/* + * This file is part of Apollo, licensed under the MIT License. + * + * Copyright (c) 2023 Moonsworth + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +package com.lunarclient.apollo.loader; + +/** + * Represents the platform plugin to be loaded. + * + * @since 1.0.0 + */ +public interface PlatformPlugin { + + /** + * Called when the plugin is enabled. + * + * @since 1.0.0 + */ + default void onEnable() { + } + + /** + * Called when the plugin is disabled. + * + * @since 1.0.0 + */ + default void onDisable() { + } + +} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3fc63cef..56ea4523 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -11,7 +11,7 @@ idea = "1.1.7" jetbrains = "24.0.1" lombok = "1.18.26" protobuf = "1.0-SNAPSHOT" -shadow = "7.1.2" +shadow = "8.1.1" spotless = "6.13.0" velocity = "3.0.1" @@ -46,7 +46,7 @@ velocity = { module = "com.velocitypowered:velocity-api", version.ref = "velocit # build artifactregistry = { module = "gradle.plugin.com.google.cloud.artifactregistry:artifactregistry-gradle-plugin", version.ref = "artifactregistry" } spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version.ref = "spotless" } -shadow = { module = "gradle.plugin.com.github.johnrengelman:shadow", version.ref = "shadow" } +shadow = { module = "com.github.johnrengelman:shadow", version.ref = "shadow" } idea = { module = "gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext", version.ref = "idea" } stylecheck = "ca.stellardrift:stylecheck:0.1" diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/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iyc>49my;dD|g9mtW#AtqmhL#*xlmVOh~pE468a3Ww}`rWf^TzxhApUVY4DRRw-o zGpHp~$7{3>4<-J$NJ*cv3dDme5JbYcOrgf0mnlx;K58$$EMZ5AZz1PS3^9@>D z$84GM2$D3dytG(8gr|TFv@gEmeHL9xU{BNZapi@5PI%5#@3k9%;Yqbu4ZFF_h8N56 zP(Yo5#7Mh79p%zGaA;?CkLf_nDhz;2;tQ{7ywsbbJQR{jHIZ@r@|mHNQ6%D4*>*3Y z-g$$q*;IgsiBvqQw8j`LOLf-=!t%P)H_Cy$;EKg5$86ieeW`csd!8u9 z6+x9^-GbFw%`D_GaVbz~|9#MvkaBzP*TkS)Vh}s}f?{;+%MW6tC9%lYAI6%#j5Qf; z$OP=?k*2HN5?tnEURUYYJ2xz3TyAncRJxTF8s+(HRtO@5<0E)#(u7qCo}E}>-9rq# zOJ4kSZoV;NzLhD}0rqVe#)XBYby{uos6aYvqkPqJ%X;2n>f?Vu^5!C8+56wQb`!~v zxivGMZa*po2YRG^cePc9f;A!}%+?e znN{YLUPt0JOetV9p8X)$1ee*#ujAS=7Z0`GJCkHl@4##Bo!wp{q+p{K=OKBqA{Diw zEdn%vF31Mn^to6uC}KAECQE8ZUAS5-)}_k%3B0OK6`$6j^2;WK2f_OMz3vSU!&_!1 z-=mYNb1Y?|%khp;(3hF6)&>qz5k!9W+zIU z&mkbp1rB{_wFp3QbmE{yDUqO_>(7o$y zE+XWOL#0xVw4nO5OB|PWM!M$9C8{ELdl^09rc|M&^z{`C*5+p_L}t0`+m38z>0ND269%(-HKYDlfZ5Su?c0UeSO*UX1_@>iVtaE$d;kSL=qd2|1LVx%y!m? z+i7)5=WP#XPFrgjjtYN3?=iUc zND%u6maT@{cNvV!=j{-~3YwBA|p*$mbR3->U%mL!|Q$_V+}$iYcHGHSOEe zd/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." + fi fi # Increase the maximum file descriptors if we can. @@ -197,6 +197,10 @@ if "$cygwin" || "$msys" ; then done fi + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + # Collect all arguments for the java command; # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of # shell script including quotes and variable substitutions, so put them in diff --git a/settings.gradle.kts b/settings.gradle.kts index 5caba0d2..e5c87e7d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -33,6 +33,7 @@ val mcVersion = startParameter.projectProperties["mc"] val loadAllVersions = mcVersion == null listOfNotNull( + "extra:loader", "extra:adventure4", "api", "common", diff --git a/velocity/build.gradle.kts b/velocity/build.gradle.kts index 86615ab5..188b2211 100644 --- a/velocity/build.gradle.kts +++ b/velocity/build.gradle.kts @@ -2,29 +2,12 @@ plugins { id("apollo.shadow-conventions") } -val adventure4Config = configurations.register("adventure4") - dependencies { compileOnly(libs.velocity) - val adventure4 = adventure4Config.name - adventure4(projects.extra.apolloExtraAdventure4) - - api(projects.apolloApi) { - targetConfiguration = "shadow" - } - - api(projects.apolloCommon) + api(project(path = ":apollo-api", configuration = "shadow")) + api(project(":apollo-common")) + api(project(":extra:apollo-extra-adventure4")) annotationProcessor(libs.velocity) } - -tasks { - shadowJar { - from(sourceSets.main.get().output) - - into("adventure/4/") { - from(adventure4Config.get().resolve().map { zipTree(it) }) - } - } -}