This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 463330c7660 [FLINK-39395][build] Add spotless `upToDateChecking`
463330c7660 is described below
commit 463330c76606d4dc6b4531a8fb3cff971050b8e1
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Fri Apr 3 00:44:21 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 0ed273dea3d..d5da0756b0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,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 df109cffb5f..af073aeff54 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2240,6 +2240,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>