Skip to content

Commit 1bda201

Browse files
committed
HSEARCH-5256 Spotless: use a cache dir per module and not single in the root
as we end up with cache misses all the time with the current config
1 parent 3776083 commit 1bda201

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -995,16 +995,16 @@
995995
</dependencies>
996996
</plugin>
997997
<!--
998-
Code formatting configuration:
999-
-->
998+
Code formatting configuration:
999+
-->
10001000
<plugin>
10011001
<groupId>com.diffplug.spotless</groupId>
10021002
<artifactId>spotless-maven-plugin</artifactId>
10031003
<version>${version.spotless-maven-plugin}</version>
10041004
<configuration>
10051005
<upToDateChecking>
10061006
<enabled>true</enabled>
1007-
<indexFile>.cache/spotless-index-${version.spotless-maven-plugin}</indexFile>
1007+
<indexFile>${project.basedir}/.cache/spotless-index-${version.spotless-maven-plugin}</indexFile>
10081008
</upToDateChecking>
10091009
<formats>
10101010
<format>

0 commit comments

Comments
 (0)