diff --git a/android/build.gradle b/android/build.gradle index e458edcc785..aeaf1a7f87d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -74,9 +74,6 @@ android { testImplementation deps.testRules testImplementation deps.hamcrest testImplementation deps.junit - - api 'com.parse.bolts:bolts-tasks:1.4.0' - api 'com.parse.bolts:bolts-applinks:1.4.0' } } diff --git a/android/plugins/fresco/build.gradle b/android/plugins/fresco/build.gradle index f949f673b87..e8bac652055 100644 --- a/android/plugins/fresco/build.gradle +++ b/android/plugins/fresco/build.gradle @@ -23,6 +23,9 @@ android { implementation deps.frescoFlipper compileOnly deps.jsr305 + api deps.boltsTasks + api deps.boltsApplinks + // Exclude the actual stetho dep as we only want some of the fresco APIs here implementation(deps.frescoStetho) { exclude group: 'com.facebook.stetho' diff --git a/build.gradle b/build.gradle index db90f188946..673a0eb172a 100644 --- a/build.gradle +++ b/build.gradle @@ -73,6 +73,8 @@ ext.deps = [ // First-party soloader : 'com.facebook.soloader:soloader:0.10.1', screenshot : 'com.facebook.testing.screenshot:core:0.5.0', + boltsTasks : 'com.parse.bolts:bolts-tasks:1.4.0', + boltsApplinks : 'com.parse.bolts:bolts-applinks:1.4.0', // Annotations jsr305 : 'com.google.code.findbugs:jsr305:3.0.2', inferAnnotations : 'com.facebook.infer.annotation:infer-annotation:0.11.2',