Skip to content

Commit 463330c

Browse files
authored
[FLINK-39395][build] Add spotless upToDateChecking
1 parent b0d0d2e commit 463330c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ scalastyle-output.xml
1717
.settings
1818
.project
1919
.version.properties
20+
.spotless-index-file
2021
filter.properties
2122
logs.zip
2223
.mvn/wrapper/*.jar

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2240,6 +2240,10 @@ under the License.
22402240
<artifactId>spotless-maven-plugin</artifactId>
22412241
<version>${spotless.version}</version>
22422242
<configuration>
2243+
<upToDateChecking>
2244+
<enabled>true</enabled>
2245+
<indexFile>${project.basedir}/.spotless-index-file</indexFile>
2246+
</upToDateChecking>
22432247
<java>
22442248
<googleJavaFormat>
22452249
<version>1.24.0</version>

0 commit comments

Comments
 (0)