Revert "Ugly fix to mercury classpath not having jetbrains annotations"

This reverts commit 33fdd9ff
This commit is contained in:
modmuss50
2020-10-12 19:24:11 +01:00
parent 33fdd9ffb2
commit e545a92166
3 changed files with 3 additions and 21 deletions

View File

@@ -67,12 +67,12 @@ public abstract class DependencyProvider {
addDependency(object, "compile");
}
public Dependency addDependency(Object object, String target) {
public void addDependency(Object object, String target) {
if (object instanceof File) {
object = project.files(object);
}
return project.getDependencies().add(target, object);
project.getDependencies().add(target, object);
}
public void register(LoomDependencyManager dependencyManager) {