[
https://issues.apache.org/jira/browse/FLINK-36542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889676#comment-17889676
]
Wenjun Ruan edited comment on FLINK-36542 at 10/15/24 2:01 PM:
---------------------------------------------------------------
After enable upToDateChecking, it will only cost 1 min in the first time
execute `mvn spotless:apply`, It takes only a few seconds to follow execute.
!image-2024-10-15-22-01-25-049.png|width=559,height=112!
was (Author: ruanwenjun):
After enable upToDateChecking, it will only cost 1 min in the first time
execute `mvn spotless:apply`, It takes only a few seconds to follow execute.
> Enable upToDateChecking to speed up the spotless
> ------------------------------------------------
>
> Key: FLINK-36542
> URL: https://issues.apache.org/jira/browse/FLINK-36542
> Project: Flink
> Issue Type: Improvement
> Components: Build System
> Reporter: Wenjun Ruan
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2024-10-15-22-01-25-049.png
>
>
> I use `mvn spotless:apply` to format the code format, find it will cost 01:13
> min, this is too slow and each time I execute `mvn spotless:apply` it will
> cost 1 min.
> I hope we can enable
> upToDateChecking setting to speed up the spotless
> [https://github.com/diffplug/spotless/tree/main/plugin-maven#incremental-up-to-date-checking-and-formatting]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)