Skip to content

Commit 57d36b4

Browse files
committed
Fix default download dir path for Gradle plugin
1 parent 7afe75b commit 57d36b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/FormatExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ private File findDataDir() {
824824
try {
825825
// e.g. ~/.m2/repository/
826826
var repoPath = Paths.get(localRepo.getUrl().getPath());
827-
var dataPath = repoPath.resolve("com").resolve("diffplus").resolve("spotless").resolve("spotless-data");
827+
var dataPath = repoPath.resolve("com").resolve("diffplug").resolve("spotless").resolve("spotless-data");
828828
return dataPath.toAbsolutePath().toFile();
829829
} finally {
830830
// Remove mavenLocal() repository again if it was not part of the project

0 commit comments

Comments
 (0)