This is an automated email from the ASF dual-hosted git repository.

snuyanzin pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-2.0 by this push:
     new 849f8b98d1a [FLINK-39395][build] Add spotless `upToDateChecking`
849f8b98d1a is described below

commit 849f8b98d1a8b80a7be23ec50b0e9d7eccf5e597
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Fri Apr 17 00:03:15 2026 +0200

    [FLINK-39395][build] Add spotless `upToDateChecking`
---
 .gitignore | 1 +
 pom.xml    | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/.gitignore b/.gitignore
index cab4a73f816..9a6ed702843 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,7 @@ scalastyle-output.xml
 .settings
 .project
 .version.properties
+.spotless-index-file
 filter.properties
 logs.zip
 .mvn/wrapper/*.jar
diff --git a/pom.xml b/pom.xml
index 31a36524b64..2a858648419 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2156,6 +2156,10 @@ under the License.
                                        
<artifactId>spotless-maven-plugin</artifactId>
                                        <version>${spotless.version}</version>
                                        <configuration>
+                                               <upToDateChecking>
+                                                       <enabled>true</enabled>
+                                                       
<indexFile>${project.basedir}/.spotless-index-file</indexFile>
+                                               </upToDateChecking>
                                                <java>
                                                        <googleJavaFormat>
                                                                
<version>1.24.0</version>

Reply via email to