Correct setup for the mavenDeployer

This commit is contained in:
Ilya Gorbunov
2017-09-16 23:21:57 +03:00
committed by Ilya Chernikov
parent 4a3c8286a3
commit c29e44f057
3 changed files with 19 additions and 12 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ task preparePublication {
String sonatypeSnapshotsUrl = (isSonatypePublish && !isRelease) ? "https://oss.sonatype.org/content/repositories/snapshots/" : null
ext.repoUrl = properties["deployRepoUrl"] ?: sonatypeSnapshotsUrl ?: properties["deploy-url"] ?: "file://${rootProject.buildDir}/repo"
ext.repoUrl = properties["deployRepoUrl"] ?: sonatypeSnapshotsUrl ?: properties["deploy-url"] ?: "file://${rootProject.buildDir}/repo".toString()
ext.username = properties["deployRepoUsername"] ?: properties["kotlin.${repoProvider}.user"]
ext.password = properties["deployRepoPassword"] ?: properties["kotlin.${repoProvider}.password"]