Make McpExecutor and GenerateForgePatchedSourcesTask config cache-compatible

- Added ForgeToolService to run tools in tasks
- Added AccessTransformerService to simplify applying ATs and
  to make the tool config cache-compatible
- Split McpExecutor into an execution stage (McpE) and
  a setup stage (McpExecutorBuilder)
- McpExecutor is now a service
- All StepLogic implementations are now services
This commit is contained in:
Juuz
2025-08-18 19:03:03 +03:00
parent 43c6662661
commit 57e853aa13
23 changed files with 1042 additions and 452 deletions

View File

@@ -298,7 +298,8 @@ public abstract class LoomGradleExtensionImpl extends LoomGradleExtensionApiImpl
return builder;
}
private boolean manualRefreshDeps() {
@Override
public boolean manualRefreshDeps() {
return project.getGradle().getStartParameter().isRefreshDependencies() || Boolean.getBoolean("loom.refresh");
}