Skip to content

Commit

Permalink
Improve build-cache support
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Aug 19, 2024
1 parent 48672d4 commit 08494cb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.gradle.api.file.ConfigurableFileCollection;
import org.gradle.api.file.FileSystemOperations;
import org.gradle.api.file.RegularFileProperty;
import org.gradle.api.internal.file.FileOperations;
import org.gradle.api.provider.ListProperty;
import org.gradle.api.provider.Property;
import org.gradle.api.tasks.Optional;
Expand Down Expand Up @@ -43,6 +44,9 @@ public abstract class LombokConfig extends DefaultTask implements LombokTask {
@Inject
protected abstract FileSystemOperations getFileSystemOperations();

@Inject
protected abstract FileOperations getFileOperations();

@Inject
protected abstract ExecOperations getExecOperations();

Expand Down Expand Up @@ -103,7 +107,7 @@ public LombokConfig() {
protected List<String> getInputPaths() {
return getPaths().getFiles()
.stream()
.map(getProject()::relativePath)
.map(getFileOperations()::relativePath)
.collect(Collectors.toList());
}

Expand Down

0 comments on commit 08494cb

Please sign in to comment.