Remove unused forgeNamed configuration

It's been unused for multiple versions, and it's not a
supported public API - it can be removed safely.
This commit is contained in:
Juuz
2023-06-12 18:45:07 +03:00
parent 4390d16183
commit 6d5e57c292
2 changed files with 0 additions and 7 deletions

View File

@@ -124,7 +124,6 @@ public abstract class LoomConfigurations implements Runnable {
registerNonTransitive(Constants.Configurations.FORGE_INSTALLER, Role.RESOLVABLE);
registerNonTransitive(Constants.Configurations.FORGE_UNIVERSAL, Role.RESOLVABLE);
register(Constants.Configurations.FORGE_DEPENDENCIES, Role.RESOLVABLE);
registerNonTransitive(Constants.Configurations.FORGE_NAMED, Role.RESOLVABLE);
registerNonTransitive(Constants.Configurations.FORGE_EXTRA, Role.RESOLVABLE);
registerNonTransitive(Constants.Configurations.MCP_CONFIG, Role.RESOLVABLE);
register(Constants.Configurations.FORGE_RUNTIME_LIBRARY, Role.RESOLVABLE).configure(configuration -> {
@@ -140,16 +139,11 @@ public abstract class LoomConfigurations implements Runnable {
extendsFrom(Constants.Configurations.FORGE_RUNTIME_LIBRARY, Constants.Configurations.FORGE_DEPENDENCIES);
extendsFrom(Constants.Configurations.FORGE_RUNTIME_LIBRARY, Constants.Configurations.MINECRAFT_RUNTIME_LIBRARIES);
extendsFrom(Constants.Configurations.FORGE_RUNTIME_LIBRARY, Constants.Configurations.FORGE_EXTRA);
extendsFrom(Constants.Configurations.FORGE_RUNTIME_LIBRARY, Constants.Configurations.FORGE_NAMED);
// Include any user-defined libraries on the runtime CP.
// (All the other superconfigurations are already on there.)
extendsFrom(JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME, Constants.Configurations.FORGE_RUNTIME_LIBRARY);
extendsFrom(JavaPlugin.TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAME, Constants.Configurations.FORGE_RUNTIME_LIBRARY);
extendsFrom(JavaPlugin.COMPILE_CLASSPATH_CONFIGURATION_NAME, Constants.Configurations.FORGE_NAMED);
extendsFrom(JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME, Constants.Configurations.FORGE_NAMED);
extendsFrom(JavaPlugin.TEST_COMPILE_CLASSPATH_CONFIGURATION_NAME, Constants.Configurations.FORGE_NAMED);
extendsFrom(JavaPlugin.TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAME, Constants.Configurations.FORGE_NAMED);
extendsFrom(JavaPlugin.COMPILE_CLASSPATH_CONFIGURATION_NAME, Constants.Configurations.FORGE_EXTRA);
extendsFrom(JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME, Constants.Configurations.FORGE_EXTRA);
extendsFrom(JavaPlugin.TEST_COMPILE_CLASSPATH_CONFIGURATION_NAME, Constants.Configurations.FORGE_EXTRA);

View File

@@ -82,7 +82,6 @@ public class Constants {
* {@link #FORGE_RUNTIME_LIBRARY forgeRuntimeLibrary} is for that instead.
*/
public static final String FORGE_DEPENDENCIES = "forgeDependencies";
public static final String FORGE_NAMED = "forgeNamed";
/**
* "Extra" runtime dependencies on Forge. Contains the Minecraft resources
* and {@linkplain Dependencies#FORGE_RUNTIME the Architectury Loom runtime}.