Move bolts dependencies to Fresco plugin (#1937)

Summary:
Fixes https://github.com/facebook/flipper/issues/1919

Somehow the diff author put the dependencies in the root `build.gradle`, which is unnecessary as this is only used by Fresco.

Pull Request resolved: https://github.com/facebook/flipper/pull/1937

Test Plan:
Built the sample app, checked that the Fresco stuff continues to work.
![Screenshot_1613565381](https://user-images.githubusercontent.com/9906/108205459-0366ef80-711d-11eb-8b3b-f804f02622af.png)

Reviewed By: mweststrate

Differential Revision: D26483701

Pulled By: passy

fbshipit-source-id: 88f056ed0897f2c00844e02721eb45d5b85c6908
This commit is contained in:
Pascal Hartig
2021-02-18 09:29:24 -08:00
committed by Facebook GitHub Bot
parent e3d1e41cc1
commit b25de27b8a
3 changed files with 5 additions and 3 deletions

View File

@@ -74,9 +74,6 @@ android {
testImplementation deps.testRules testImplementation deps.testRules
testImplementation deps.hamcrest testImplementation deps.hamcrest
testImplementation deps.junit testImplementation deps.junit
api 'com.parse.bolts:bolts-tasks:1.4.0'
api 'com.parse.bolts:bolts-applinks:1.4.0'
} }
} }

View File

@@ -23,6 +23,9 @@ android {
implementation deps.frescoFlipper implementation deps.frescoFlipper
compileOnly deps.jsr305 compileOnly deps.jsr305
api deps.boltsTasks
api deps.boltsApplinks
// Exclude the actual stetho dep as we only want some of the fresco APIs here // Exclude the actual stetho dep as we only want some of the fresco APIs here
implementation(deps.frescoStetho) { implementation(deps.frescoStetho) {
exclude group: 'com.facebook.stetho' exclude group: 'com.facebook.stetho'

View File

@@ -73,6 +73,8 @@ ext.deps = [
// First-party // First-party
soloader : 'com.facebook.soloader:soloader:0.10.1', soloader : 'com.facebook.soloader:soloader:0.10.1',
screenshot : 'com.facebook.testing.screenshot:core:0.5.0', 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 // Annotations
jsr305 : 'com.google.code.findbugs:jsr305:3.0.2', jsr305 : 'com.google.code.findbugs:jsr305:3.0.2',
inferAnnotations : 'com.facebook.infer.annotation:infer-annotation:0.11.2', inferAnnotations : 'com.facebook.infer.annotation:infer-annotation:0.11.2',