提交 5724c47b 编写于 作者: V Vyacheslav Gerasimov

Build: Fix uri parsing on windows in publication repo configuration

上级 542f1b87
...@@ -148,7 +148,7 @@ fun TaskProvider<PublishToMavenRepository>.configureRepository() = configure { ...@@ -148,7 +148,7 @@ fun TaskProvider<PublishToMavenRepository>.configureRepository() = configure {
val repoUrl: String by preparePublication.extra val repoUrl: String by preparePublication.extra
repository.apply { repository.apply {
url = URI(repoUrl) url = project.uri(repoUrl)
if (url.scheme != "file" && username != null && password != null) { if (url.scheme != "file" && username != null && password != null) {
credentials { credentials {
this.username = username this.username = username
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册