From 91710cc5a170239e61a69467f20f998b4bf601d3 Mon Sep 17 00:00:00 2001 From: Szczepan Faber Date: Thu, 28 Feb 2019 16:08:10 -0800 Subject: [PATCH] Workaround for bintray user issue The problem is that Gradle does not seem to be executing the closure under plugins.withId("com.shipkit.bintray"). I'm digging into this. In the meantime, we can workaround with 'afterEvaluate' --- gradle/shipkit.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/shipkit.gradle b/gradle/shipkit.gradle index a12e457d48..b3ddfed8a4 100644 --- a/gradle/shipkit.gradle +++ b/gradle/shipkit.gradle @@ -6,8 +6,8 @@ shipkit { gitHub.writeAuthToken = System.getenv("GH_WRITE_TOKEN") } -allprojects { - plugins.withId("com.shipkit.bintray") { +subprojects { + afterEvaluate { bintray { key = System.getenv("BINTRAY_API_KEY") user = System.getenv("BINTRAY_USER")