mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Supply the configuration to the run Exec directly (#232)
* Supply the configuration to the run Exec directly This allows the implicit task dependencies from project() dependencies to flow into the run tasks. * Make unmappedMods a CFC to track task information Deprecates the old methods, and they should probably be removed with 0.5.
This commit is contained in:
@@ -116,13 +116,12 @@ public class LoomGradlePlugin extends AbstractPlugin {
|
||||
|
||||
tasks.register("runClient", RunClientTask.class, t -> {
|
||||
t.setDescription("Starts a development version of the Minecraft client.");
|
||||
t.dependsOn("jar", "downloadAssets");
|
||||
t.dependsOn("downloadAssets");
|
||||
t.setGroup("fabric");
|
||||
});
|
||||
|
||||
tasks.register("runServer", RunServerTask.class, t -> {
|
||||
t.setDescription("Starts a development version of the Minecraft server.");
|
||||
t.dependsOn("jar");
|
||||
t.setGroup("fabric");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user