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.  Reviewed By: mweststrate Differential Revision: D26483701 Pulled By: passy fbshipit-source-id: 88f056ed0897f2c00844e02721eb45d5b85c6908
37 lines
967 B
Groovy
37 lines
967 B
Groovy
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'maven'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.minSdkVersion
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':android')
|
|
implementation deps.fresco
|
|
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'
|
|
}
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.vanniktech.maven.publish'
|