Files
flipper/android/plugins/litho/build.gradle
Paco Estevez Garcia 51293406d6 Move Litho Flipper Plugin to Litho
Summary:
The current ownership and release model prevents cleanly releasing new versions of the plugin while the code is split between two repos.

This diff moves the flipper-litho plugin to the Litho repository. You'll find new releases as `litho-editor-flipper` that'll be reexported via gradle's `api` to the old artifact.

Reviewed By: colriot

Differential Revision: D23962234

fbshipit-source-id: 7884423342904219ae9b41632c6df90cda870798
2020-10-07 15:44:33 -07:00

40 lines
1.1 KiB
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 {
compileOnly deps.lithoAnnotations
implementation project(':android')
implementation deps.lithoCore
api deps.lithoEditorCore
api(deps.lithoEditorFlipper) {
exclude group:'com.facebook.flipper', module:'flipper'
}
implementation deps.lithoSectionsDebug
implementation deps.lithoSectionsCore
implementation deps.lithoWidget
implementation deps.supportAppCompat
compileOnly deps.jsr305
testImplementation deps.junit
testImplementation deps.robolectric
}
}
apply from: rootProject.file('gradle/release.gradle')