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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user