From 10df8cbc550f94bc4a145d40e91c6ff70d264709 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 13 Jan 2020 23:21:07 +0600 Subject: [PATCH] one more fix for publishing --- publish.gradle | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/publish.gradle b/publish.gradle index 35da9bdd7d..65ae1d4b9e 100644 --- a/publish.gradle +++ b/publish.gradle @@ -2,10 +2,6 @@ apply plugin: 'com.jfrog.bintray' apply from: "maven.publish.gradle" -ext { - projectBintrayDir = "${project.group}/".replace(".", "/") + "${project.name}/${project.version}" -} - bintray { user = project.hasProperty('BINTRAY_USER') ? project.property('BINTRAY_USER') : System.getenv('BINTRAY_USER') key = project.hasProperty('BINTRAY_KEY') ? project.property('BINTRAY_KEY') : System.getenv('BINTRAY_KEY') @@ -44,9 +40,14 @@ bintray { } bintrayUpload.doFirst { - publications = publishing.publications.collect { - it.name + String[] toInclude = publishing.publications.collect { + if (it.name.contains('kotlinMultiplatform')) { + null + } else { + it.name + } } + publications = (toInclude - null) } bintrayUpload.dependsOn publishToMavenLocal \ No newline at end of file