Fix getRootProjectPersistentCache() not using the root project, closes #113
parent
b09574eb70
commit
c2ccece4c2
|
@ -105,7 +105,7 @@ public class LoomGradleExtension {
|
||||||
}
|
}
|
||||||
|
|
||||||
public File getRootProjectPersistentCache() {
|
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()){
|
if(!projectCache.exists()){
|
||||||
projectCache.mkdirs();
|
projectCache.mkdirs();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue