Build: Fix uri parsing on windows in publication repo configuration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user