Enable caching of bytebuddy cache. (#1764)

This commit is contained in:
Anuraag Agrawal 2020-11-26 10:25:28 +09:00 committed by GitHub
parent 325238f128
commit 6ab51c1194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public class ByteBuddyPluginConfigurator {
private Task createLanguageTask(AbstractCompile compileTask, String name) {
ByteBuddySimpleTask task = project.getTasks().create(name, ByteBuddySimpleTask.class);
task.setGroup("Byte Buddy");
task.getOutputs().cacheIf(unused -> true);
File classesDirectory = compileTask.getDestinationDir();
File rawClassesDirectory =