update renaming of android parts

This commit is contained in:
InsanusMokrassar 2020-11-11 16:29:43 +06:00
parent 08075dfafe
commit 6fc64526d4

View File

@ -13,10 +13,16 @@ bintray {
if (directorySubname == "kotlinMultiplatform") { if (directorySubname == "kotlinMultiplatform") {
it.setPath("${project.name}/${project.version}/${project.name}-${project.version}.module") it.setPath("${project.name}/${project.version}/${project.name}-${project.version}.module")
} else { } else {
if (directorySubname.indexOf("android") != -1) { switch (directorySubname) {
case "androidRelease":
it.setPath("${project.name}-android/${project.version}/${project.name}-android-${project.version}.module") it.setPath("${project.name}-android/${project.version}/${project.name}-android-${project.version}.module")
} else { break
case "androidDebug":
it.setPath("${project.name}-android-debug/${project.version}/${project.name}-android-debug-${project.version}.module")
break
default:
it.setPath("${project.name}-${directorySubname}/${project.version}/${project.name}-${directorySubname}-${project.version}.module") it.setPath("${project.name}-${directorySubname}/${project.version}/${project.name}-${directorySubname}-${project.version}.module")
break
} }
} }
} else { } else {