Publish artifacts needed for the kotlin-gradle-plugin in kotlin-ide repository

This commit is contained in:
Alexander Dudinsky
2021-02-17 12:27:30 +03:00
parent 9b4949a3c5
commit a3fa6c6d13
5 changed files with 57 additions and 40 deletions
+2 -2
View File
@@ -112,8 +112,8 @@ task preparePublication {
project.ext['signing.password'] = project.properties['kotlin.key.passphrase']
String sonatypeSnapshotsUrl = (isSonatypePublish && !isRelease) ? "https://oss.sonatype.org/content/repositories/snapshots/" : null
ext.repoUrl = properties["deployRepoUrl"] ?: sonatypeSnapshotsUrl ?: properties["deploy-url"] ?: "file://${rootProject.buildDir}/repo".toString()
String repoFolder = properties["deployRepoFolder"] ?: "repo"
ext.repoUrl = properties["deployRepoUrl"] ?: sonatypeSnapshotsUrl ?: properties["deploy-url"] ?: "file://${rootProject.buildDir}/${repoFolder}".toString()
ext.username = properties["deployRepoUsername"] ?: properties["kotlin.${repoProvider}.user"]
ext.password = properties["deployRepoPassword"] ?: properties["kotlin.${repoProvider}.password"]