mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-03 05:57:42 -05:00
Allow specifying multiple accesstransformers
Signed-off-by: shedaniel <daniel@shedaniel.me>
This commit is contained in:
@@ -87,7 +87,7 @@ public class LoomGradleExtension {
|
||||
public boolean remapMod = true;
|
||||
public String customManifest = null;
|
||||
public File accessWidener = null;
|
||||
public File accessTransformer = null;
|
||||
public Set<File> accessTransformers = new HashSet<>();
|
||||
public Function<String, Object> intermediaryUrl = mcVer -> "https://maven.fabricmc.net/net/fabricmc/intermediary/" + mcVer + "/intermediary-" + mcVer + "-v2.jar";
|
||||
public boolean shareCaches = false;
|
||||
public List<String> mixinConfigs = new ArrayList<>(); // FORGE: Passed to Minecraft
|
||||
@@ -282,7 +282,7 @@ public class LoomGradleExtension {
|
||||
}
|
||||
|
||||
public void accessTransformer(Object file) {
|
||||
this.accessTransformer = project.file(file);
|
||||
this.accessTransformers.add(project.file(file));
|
||||
}
|
||||
|
||||
public File getUserCache() {
|
||||
|
||||
Reference in New Issue
Block a user