mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-03 05:57:42 -05:00
Ugly fix to mercury classpath not having jetbrains annotations
This commit is contained in:
@@ -67,12 +67,12 @@ public abstract class DependencyProvider {
|
||||
addDependency(object, "compile");
|
||||
}
|
||||
|
||||
public void addDependency(Object object, String target) {
|
||||
public Dependency addDependency(Object object, String target) {
|
||||
if (object instanceof File) {
|
||||
object = project.files(object);
|
||||
}
|
||||
|
||||
project.getDependencies().add(target, object);
|
||||
return project.getDependencies().add(target, object);
|
||||
}
|
||||
|
||||
public void register(LoomDependencyManager dependencyManager) {
|
||||
|
||||
Reference in New Issue
Block a user