mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 21:05:58 -05:00
use project root dir, should fix files being all over the place
This commit is contained in:
@@ -53,6 +53,14 @@ public class LoomGradleExtension {
|
||||
return userCache;
|
||||
}
|
||||
|
||||
public File getProjectCache(){
|
||||
File projectCache = new File(project.getRootDir(), ".gradle/minecraft/");
|
||||
if(!projectCache.exists()){
|
||||
projectCache.mkdirs();
|
||||
}
|
||||
return projectCache;
|
||||
}
|
||||
|
||||
public LoomDependencyManager getDependencyManager() {
|
||||
return dependencyManager;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user