Store minecraft jars in a maven repo instead of an ivy repo.

Improve intelij support for attaching sources.
This commit is contained in:
modmuss50
2022-10-24 20:29:34 +01:00
parent 5f67780824
commit e7bee0daa8
14 changed files with 266 additions and 99 deletions

View File

@@ -97,4 +97,14 @@ public abstract class LoomFilesBaseImpl implements LoomFiles {
public File getRemapClasspathFile() {
return new File(getProjectPersistentCache(), "remapClasspath.txt");
}
@Override
public File getGlobalMinecraftRepo() {
return new File(getUserCache(), "minecraftMaven");
}
@Override
public File getLocalMinecraftRepo() {
return new File(getRootProjectPersistentCache(), "minecraftMaven");
}
}