store mixin maps in per-project build caches, move root project build cache to build/loom-cache from .gradle/

This commit is contained in:
Adrian Siekierka
2019-04-21 11:18:45 +02:00
parent 988c7e483d
commit ab9d2d3fda
4 changed files with 15 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ public class CleanLoomMappings extends DefaultLoomTask {
extension.getMinecraftMappedProvider().getIntermediaryJar().delete();
extension.getMinecraftMappedProvider().getMappedJar().delete();
try {
Files.walkFileTree(extension.getProjectCache().toPath(), new DeletingFileVisitor());
Files.walkFileTree(extension.getRootProjectBuildCache().toPath(), new DeletingFileVisitor());
} catch (IOException e) {
throw new RuntimeException(e);
}