Skip to content

Commit 9c6168f

Browse files
committed
Fix PublishingPlugin URI.create() bug on Windows
1 parent 7321dff commit 9c6168f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/java/com/google/firebase/gradle/plugins/publish/PublishingPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void apply(Project project) {
121121
repo.setUrl(
122122
URI.create(
123123
"file://"
124-
+ sub.getRootProject().getBuildDir()
124+
+ sub.getRootProject().getBuildDir().toString().replace('\\', '/')
125125
+ "/m2repository"));
126126
repo.setName("BuildDir");
127127
}));

0 commit comments

Comments
 (0)