mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
pull in annotationProcessor dependencies from fabric-loader JSON too
This commit is contained in:
@@ -177,7 +177,9 @@ public class AbstractPlugin implements Plugin<Project> {
|
||||
if (module instanceof ResolvedDependencyResult) {
|
||||
if (module.getFrom().getId() instanceof ModuleComponentIdentifier) {
|
||||
ModuleComponentIdentifier mci = ((ModuleComponentIdentifier) module.getFrom().getId());
|
||||
proj.getDependencies().add(configuration, proj.getDependencies().module(mci.getGroup() + ":" + mci.getModule() + ":" + mci.getVersion()));
|
||||
String moduleId = mci.getGroup() + ":" + mci.getModule() + ":" + mci.getVersion();
|
||||
proj.getDependencies().add(configuration, proj.getDependencies().module(moduleId));
|
||||
proj.getLogger().debug("Loom addModule " + moduleId + " to " + configuration);
|
||||
}
|
||||
|
||||
for (DependencyResult child : ((ResolvedDependencyResult) module).getSelected().getDependencies()) {
|
||||
|
||||
Reference in New Issue
Block a user