Skip to content

Commit f8b3e78

Browse files
committed
Fix so the url is not empty
1 parent 75055bf commit f8b3e78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ subprojects {
119119
mavenLocal()
120120
maven {
121121
name = "repsy"
122-
url = uri(project.findProperty("repoUrl")?.toString() ?:"https://repo.repsy.io/")
122+
url = uri(project.findProperty("repoUrl")?.toString()?.takeIf { !it.isEmpty() } ?: "https://repo.repsy.io/")
123123
credentials {
124124
username = System.getenv("REPO_USER").takeIf { !it.isNullOrBlank() }
125125
?: project.findProperty("repoUser")?.toString()

0 commit comments

Comments
 (0)