Don't cache lombok.config by default
@@ -20,7 +20,6 @@ import java.util.Map;
@Getter
@Setter
-@CacheableTask
public class GenerateLombokConfig extends DefaultTask {
@OutputFile
@@ -40,7 +39,7 @@ public class GenerateLombokConfig extends DefaultTask {
try (PrintWriter writer = ResourceGroovyMethods.newPrintWriter(outputFile.getAsFile().get(), "ISO-8859-1")) {
writer.println("# This file is generated by the 'io.freefair.lombok' Gradle plugin");
properties.get().entrySet().stream()
- .sorted(Comparator.comparing(Map.Entry::getKey, String.CASE_INSENSITIVE_ORDER))
+ .sorted(Map.Entry.comparingByKey(String.CASE_INSENSITIVE_ORDER))
.forEach(entry ->
writer.println(entry.getKey() + " = " + entry.getValue())
);
