From 2fde333b0df3efe1804019971e05bb79efcdbb69 Mon Sep 17 00:00:00 2001 From: quinnjn Date: Thu, 5 Jul 2018 14:23:40 -0700 Subject: [PATCH] Temp replace api for compile api is not accessible during artifact building so the data collector jars are not transitively making it into the release jar --- BraintreeDataCollector/build.gradle | 7 ++++++- PayPalDataCollector/build.gradle | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/BraintreeDataCollector/build.gradle b/BraintreeDataCollector/build.gradle index d7746d9e09..33c1d44e45 100644 --- a/BraintreeDataCollector/build.gradle +++ b/BraintreeDataCollector/build.gradle @@ -19,7 +19,12 @@ android { } dependencies { - api files('libs/' + deviceCollectorVersion) + // TODO `api` is the proper keyword for this dependency + // Although when we try to add this to our releaseJar + // We don't have access to configurations.(compile|api) + // So this needs more investigation. + // For now, revert back to `compile` keyword + compile files('libs/' + deviceCollectorVersion) } /* maven deploy + signing */ diff --git a/PayPalDataCollector/build.gradle b/PayPalDataCollector/build.gradle index a15a5e14a3..ba9475ef9c 100644 --- a/PayPalDataCollector/build.gradle +++ b/PayPalDataCollector/build.gradle @@ -27,7 +27,12 @@ android { dependencies { compileOnly 'com.android.support:support-annotations:26.0.0' - api files('libs/' + dataCollectorVersion) + // TODO `api` is the proper keyword for this dependency + // Although when we try to add this to our releaseJar + // We don't have access to configurations.(compile|api) + // So this needs more investigation. + // For now, revert back to `compile` keyword + compile files('libs/' + dataCollectorVersion) androidTestImplementation 'com.android.support.test:runner:1.0.0' }