diff options
author | modmuss50 <modmuss50@gmail.com> | 2020-10-21 08:59:20 +0100 |
---|---|---|
committer | modmuss50 <modmuss50@gmail.com> | 2020-10-21 08:59:20 +0100 |
commit | 42a0cbd3b38a6f843e1b74d50a58352f6920e8a8 (patch) | |
tree | 478bd485cdf93975748b008ed70a9ec8a9dddd1d /src/main | |
parent | 5c4d89bd0d9c9813342e6f5d63175db3231a9e2d (diff) | |
download | architectury-loom-42a0cbd3b38a6f843e1b74d50a58352f6920e8a8.tar.gz architectury-loom-42a0cbd3b38a6f843e1b74d50a58352f6920e8a8.tar.bz2 architectury-loom-42a0cbd3b38a6f843e1b74d50a58352f6920e8a8.zip |
Dont throw when annotationDependency is not resloved.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/fabricmc/loom/util/SourceRemapper.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/net/fabricmc/loom/util/SourceRemapper.java b/src/main/java/net/fabricmc/loom/util/SourceRemapper.java index c0750b0e..faa48cad 100644 --- a/src/main/java/net/fabricmc/loom/util/SourceRemapper.java +++ b/src/main/java/net/fabricmc/loom/util/SourceRemapper.java @@ -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()); } |