mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 13:37:45 -05:00
Dont throw when annotationDependency is not resloved.
This commit is contained in:
@@ -183,10 +183,6 @@ public class SourceRemapper {
|
||||
Set<File> files = project.getConfigurations().getByName("compileOnly")
|
||||
.files(annotationDependency);
|
||||
|
||||
if (files.size() != 1) {
|
||||
throw new RuntimeException(String.format("Found %d files for the annotations, expected 1", files.size()));
|
||||
}
|
||||
|
||||
for (File file : files) {
|
||||
m.getClassPath().add(file.toPath());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user