mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Fix compilation
This commit is contained in:
@@ -38,12 +38,12 @@ public class ForgeProvider extends DependencyProvider {
|
||||
|
||||
@Override
|
||||
public void provide(DependencyInfo dependency, Consumer<Runnable> postPopulationScheduler) throws Exception {
|
||||
addDependency(dependency.getDepString() + ":userdev", Constants.FORGE_USERDEV);
|
||||
addDependency(dependency.getDepString() + ":installer", Constants.FORGE_INSTALLER);
|
||||
addDependency(dependency.getDepString() + ":userdev", Constants.Configurations.FORGE_USERDEV);
|
||||
addDependency(dependency.getDepString() + ":installer", Constants.Configurations.FORGE_INSTALLER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTargetConfig() {
|
||||
return Constants.FORGE;
|
||||
return Constants.Configurations.FORGE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,6 +56,6 @@ public class ForgeUniversalProvider extends DependencyProvider {
|
||||
|
||||
@Override
|
||||
public String getTargetConfig() {
|
||||
return Constants.FORGE_UNIVERSAL;
|
||||
return Constants.Configurations.FORGE_UNIVERSAL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,11 +74,11 @@ public class ForgeUserdevProvider extends DependencyProvider {
|
||||
json = new Gson().fromJson(reader, JsonObject.class);
|
||||
}
|
||||
|
||||
addDependency(json.get("mcp").getAsString(), Constants.MCP_CONFIG);
|
||||
addDependency(json.get("universal").getAsString(), Constants.FORGE_UNIVERSAL);
|
||||
addDependency(json.get("mcp").getAsString(), Constants.Configurations.MCP_CONFIG);
|
||||
addDependency(json.get("universal").getAsString(), Constants.Configurations.FORGE_UNIVERSAL);
|
||||
|
||||
for (JsonElement lib : json.get("libraries").getAsJsonArray()) {
|
||||
addDependency(lib.getAsString(), Constants.FORGE_DEPENDENCIES);
|
||||
addDependency(lib.getAsString(), Constants.Configurations.FORGE_DEPENDENCIES);
|
||||
}
|
||||
|
||||
// TODO: Read launch configs from the JSON too
|
||||
@@ -92,6 +92,6 @@ public class ForgeUserdevProvider extends DependencyProvider {
|
||||
|
||||
@Override
|
||||
public String getTargetConfig() {
|
||||
return Constants.FORGE_USERDEV;
|
||||
return Constants.Configurations.FORGE_USERDEV;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,6 +83,6 @@ public class McpConfigProvider extends DependencyProvider {
|
||||
|
||||
@Override
|
||||
public String getTargetConfig() {
|
||||
return Constants.MCP_CONFIG;
|
||||
return Constants.Configurations.MCP_CONFIG;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,6 +71,6 @@ public class PatchProvider extends DependencyProvider {
|
||||
|
||||
@Override
|
||||
public String getTargetConfig() {
|
||||
return Constants.FORGE_INSTALLER;
|
||||
return Constants.Configurations.FORGE_INSTALLER;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user