Files
flipper/android/plugins/litho/build.gradle
Luke De Feo 1aacc51d12 Use mount extension for litho integration
Summary:
Initial implementation of Litho extensions using mount extension. After mount is called on the main thread and we traverse the hierachy. In future we can use mount extensions to construct a sparse tree rather  than sending everything every time.

Scroll is handled with a native UI scroll listener for each litho view. This may break if the litho view is not a direct child of the scroll view.

Reviewed By: mihaelao

Differential Revision: D40021840

fbshipit-source-id: b09086a7a16660225885620609009dddf5b90d3b
2022-10-25 07:10:38 -07:00

41 lines
1.2 KiB
Groovy

/*
* Copyright (c) Meta Platforms, Inc. and 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: 'kotlin-android'
android {
compileSdkVersion rootProject.compileSdkVersion
buildToolsVersion rootProject.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.targetSdkVersion
}
dependencies {
compileOnly deps.lithoAnnotations
implementation project(':android')
implementation deps.kotlinCoroutinesAndroid
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 plugin: 'com.vanniktech.maven.publish'