Publish artifacts needed for the kotlin-gradle-plugin in kotlin-ide repository
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user