Dont throw when annotationDependency is not resloved.

dev/0.11
modmuss50 2020-10-21 08:59:20 +01:00
parent 5c4d89bd0d
commit 42a0cbd3b3
1 changed files with 0 additions and 4 deletions

View File

@ -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());
}