You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by sn...@apache.org on 2026/04/16 19:00:51 UTC

(flink) branch release-1.20 updated: [FLINK-39395][build] Add spotless `upToDateChecking`

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

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


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

commit df69b9d84b230d56da5d133770f00b82b68bb21e
Author: Sergey Nuyanzin <sn...@gmail.com>
AuthorDate: Thu Apr 16 21:00:44 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 942fe04e28f..6c13c284496 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,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 c298062cc85..60b5f6ed51c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2203,6 +2203,10 @@ under the License.
 					<version>${spotless.version}</version>
 					<configuration>
 						<skip>${spotless.skip}</skip>
+						<upToDateChecking>
+							<enabled>true</enabled>
+							<indexFile>${project.basedir}/.spotless-index-file</indexFile>
+						</upToDateChecking>
 						<java>
 							<googleJavaFormat>
 								<version>1.7</version>