Build: Fix uri parsing on windows in publication repo configuration

This commit is contained in:
Vyacheslav Gerasimov
2020-06-19 00:02:39 +03:00
parent 542f1b8709
commit 5724c47bcf
@@ -148,7 +148,7 @@ fun TaskProvider<PublishToMavenRepository>.configureRepository() = configure {
val repoUrl: String by preparePublication.extra
repository.apply {
url = URI(repoUrl)
url = project.uri(repoUrl)
if (url.scheme != "file" && username != null && password != null) {
credentials {
this.username = username