Minor: explicitly use ext.repoUrl

This commit is contained in:
Nikolay Krasko
2022-09-01 13:12:19 +02:00
committed by Space Team
parent cfd79c87a6
commit 0e44ad6c60
+2 -2
View File
@@ -39,13 +39,13 @@ task preparePublication {
project.ext.isDeployStagingRepoGenerationRequired = project.ext.isSonatypeRelease && deployUrlFromParameters == null
ext.repoUrl = deployUrlFromParameters ?: "file://${rootProject.buildDir}/repo"
logger.info("Deployment repository preliminary url: $repoUrl ($repoProvider)")
logger.info("Deployment repository preliminary url: ${ext.repoUrl} ($repoProvider)")
ext.username = properties["deployRepoUsername"] ?: properties["kotlin.${repoProvider}.user"]
ext.password = properties["deployRepoPassword"] ?: properties["kotlin.${repoProvider}.password"]
doLast {
println("Deployment repository url: $repoUrl")
println("Deployment repository url: ${ext.repoUrl}")
}
}