Skip to content

Commit

Permalink
Update LombokConfig.getInputPaths input property to use relative path…
Browse files Browse the repository at this point in the history
…s instead of absolute

Using absolute paths for this property causes the task to re-execute when the absolute paths of the inputPaths changes (if the project is moved to another directory, or the build is executed from a different path in a CI machine, for instance), even when none of the inputs have changed otherwise.
  • Loading branch information
tylerbertrand authored and larsgrefer committed Aug 19, 2024
1 parent f7e3960 commit 48672d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public LombokConfig() {
protected List<String> getInputPaths() {
return getPaths().getFiles()
.stream()
.map(File::getPath)
.map(getProject()::relativePath)
.collect(Collectors.toList());
}

Expand Down

0 comments on commit 48672d4

Please sign in to comment.