mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 21:05:58 -05:00
Add srgRemapJar (unknown if it works, I need to add more Forge dependencies first)
This commit is contained in:
@@ -47,6 +47,7 @@ import net.fabricmc.loom.task.RemapJarTask;
|
||||
import net.fabricmc.loom.task.RemapSourcesJarTask;
|
||||
import net.fabricmc.loom.task.RunClientTask;
|
||||
import net.fabricmc.loom.task.RunServerTask;
|
||||
import net.fabricmc.loom.task.SrgRemapJarTask;
|
||||
|
||||
public class LoomGradlePlugin extends AbstractPlugin {
|
||||
public static File getMappedByproduct(Project project, String suffix) {
|
||||
@@ -88,6 +89,12 @@ public class LoomGradlePlugin extends AbstractPlugin {
|
||||
t.setGroup("fabric");
|
||||
});
|
||||
|
||||
tasks.register("srgRemapJar", SrgRemapJarTask.class, t -> {
|
||||
t.setDescription("Remaps the built project jar to intermediary mappings.");
|
||||
t.setGroup("fabric");
|
||||
t.dependsOn("remapJar");
|
||||
});
|
||||
|
||||
tasks.register("downloadAssets", DownloadAssetsTask.class, t -> t.setDescription("Downloads required assets for Fabric."));
|
||||
|
||||
tasks.register("genIdeaWorkspace", GenIdeaProjectTask.class, t -> {
|
||||
|
||||
Reference in New Issue
Block a user