Summary: ## Summary Resolves https://github.com/facebook/flipper/issues/607 This removes stetho dependencies directly in favor of just copying in the used classes. This removes the last non-androidx dependency from the project, and is useful as stetho appears to be unmaintained. The fresco stetho dependency appeared to be completely unused. ## Changelog Remove stetho dependencies. It was unused other than a few utility methods, but came at the cost of preventing Flipper consumers from completely removing dependencies that hadn't updated to Androidx yet. Pull Request resolved: https://github.com/facebook/flipper/pull/762 Test Plan: Existing tests still pass with no regressions. Functionally this should be no difference. Reviewed By: jknoxville Differential Revision: D19577969 Pulled By: passy fbshipit-source-id: b277ddf97a9d2c846dd0b9227c02bb46c1ecd930
34 lines
916 B
Groovy
34 lines
916 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
|
|
|
|
// Exclude the actual stetho dep as we only want some of the fresco APIs here
|
|
implementation(deps.frescoStetho) {
|
|
exclude group: 'com.facebook.stetho'
|
|
}
|
|
}
|
|
}
|
|
|
|
apply from: rootProject.file('gradle/release.gradle')
|