mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 13:37:45 -05:00
more gradle fixes
This commit is contained in:
@@ -77,9 +77,14 @@ public class SourceRemapper {
|
||||
|
||||
Mercury mercury = new Mercury();
|
||||
|
||||
for (File file : project.getConfigurations().getByName("compile").getFiles()) {
|
||||
for (File file : project.getConfigurations().getByName(Constants.MINECRAFT_DEPENDENCIES).getFiles()) {
|
||||
mercury.getClassPath().add(file.toPath());
|
||||
}
|
||||
if (!toNamed) {
|
||||
for (File file : project.getConfigurations().getByName(Constants.COMPILE_MODS_MAPPED).getFiles()) {
|
||||
mercury.getClassPath().add(file.toPath());
|
||||
}
|
||||
}
|
||||
for (File file : extension.getUnmappedMods()) {
|
||||
if (file.isFile()) {
|
||||
mercury.getClassPath().add(file.toPath());
|
||||
|
||||
Reference in New Issue
Block a user