This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch release-2.1
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-2.1 by this push:
new 691a5d6cb0e [FLINK-39395][build] Add spotless `upToDateChecking`
691a5d6cb0e is described below
commit 691a5d6cb0e5d8f239bffc378ddc80678825acd8
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Fri Apr 17 00:02:20 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 397c1bd9192..99c360eacd0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2167,6 +2167,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>