Force usage of passed deploy url for sonatype publication (KTI-552)

This commit is contained in:
Nikolay Krasko
2021-04-28 20:44:36 +03:00
parent 2eda82f178
commit 624740a80a
2 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ apply {
}
apply {
if (extra["isSonatypeRelease"] as? Boolean == true) {
if (extra["isSonatypeRelease"] as? Boolean == true && (extra["deployRepoUrlCustom"] as? String) == null) {
logger.info("Applying configuration for sonatype release")
from("libraries/prepareSonatypeStaging.gradle")
}