Fix getRootProjectPersistentCache() not using the root project, closes

This commit is contained in:
modmuss50 2019-06-24 11:23:28 +01:00
parent b09574eb70
commit c2ccece4c2

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();
}