Skip to content

Commit

Permalink
Update LombokConfig.getConfigFiles input property to use relative pat…
Browse files Browse the repository at this point in the history
…h normalization instead of absolute

Absolute path normalization on this property causes the task to re-execute when the absolute path of the config files 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 ee4e183 commit f7e3960
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected List<String> getInputPaths() {
@InputFiles
@Optional
@Nullable
@PathSensitive(PathSensitivity.ABSOLUTE)
@PathSensitive(PathSensitivity.RELATIVE)
@SneakyThrows
protected Set<File> getConfigFiles() {
if (getPaths().isEmpty()) {
Expand Down

0 comments on commit f7e3960

Please sign in to comment.