Skip to content

Commit 46e5499

Browse files
committed
Bintray upload fix
1 parent 0949147 commit 46e5499

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ allprojects { project ->
235235
project.apply plugin: 'com.jfrog.bintray'
236236

237237
def archivesBaseName = isLibrary ? 'firebase-ui' : "firebase-ui-${project.name}"
238+
def publicationName = isLibrary ? 'monolithLibrary' : "${project.name}Library"
238239
def pomLoc = isLibrary ? "$buildDir/publications/monolithLibrary/pom-default.xml" : "$buildDir/publications/${project.name}Library/pom-default.xml"
239240

240241
group = project.ext.group
@@ -245,6 +246,7 @@ allprojects { project ->
245246
bintray {
246247
user = hasProperty('BINTRAY_USER') ? getProperty('BINTRAY_USER') : System.getenv('BINTRAY_USER')
247248
key = hasProperty('BINTRAY_KEY') ? getProperty('BINTRAY_KEY') : System.getenv('BINTRAY_KEY')
249+
publications = [ publicationName ]
248250

249251
filesSpec {
250252
from pomLoc

0 commit comments

Comments
 (0)