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

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


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

commit bc0a0eaf3ae6fbcd8f218d63c1bc28ec5cf46da7
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Fri Apr 17 00:01:10 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 ff2c78719c8..ecda8f4f672 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,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 ba0b0575d94..72e48f96d70 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2232,6 +2232,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