Fix getRootProjectPersistentCache() not using the root project, closes #113
This commit is contained in:
		
							parent
							
								
									b09574eb70
								
							
						
					
					
						commit
						c2ccece4c2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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 a new issue