1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-29 13:38:43 +00:00

one more fix for publishing

This commit is contained in:
InsanusMokrassar 2020-01-13 23:21:57 +06:00
parent 10df8cbc55
commit cb30beaa31

View File

@ -40,14 +40,13 @@ bintray {
} }
bintrayUpload.doFirst { bintrayUpload.doFirst {
String[] toInclude = publishing.publications.collect { publications = publishing.publications.collect {
if (it.name.contains('kotlinMultiplatform')) { if (it.name.contains('kotlinMultiplatform')) {
null null
} else { } else {
it.name it.name
} }
} } - null
publications = (toInclude - null)
} }
bintrayUpload.dependsOn publishToMavenLocal bintrayUpload.dependsOn publishToMavenLocal