Fix getRootProjectPersistentCache() not using the root project, closes #113

dev/0.11
modmuss50 2019-06-24 11:23:28 +01:00
parent b09574eb70
commit c2ccece4c2
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class LoomGradleExtension {
}
public File getRootProjectPersistentCache() {
File projectCache = new File(project.file(".gradle"), "loom-cache");
File projectCache = new File(project.getRootProject().file(".gradle"), "loom-cache");
if(!projectCache.exists()){
projectCache.mkdirs();
}