Summary: This allows breaking changes in Litho to be landed. I'm also adding some helpers to determine if Flipper itself is currently in a release or snapshot release train. N.B. We don't publish snapshot releases for Flipper right now, but will in the future where this will come in handy. Reviewed By: jknoxville Differential Revision: D9359035 fbshipit-source-id: d21b607eca5d57caf4cc34234f6ba3cb0d8f307d
39 lines
901 B
Groovy
39 lines
901 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
defaultConfig {
|
|
minSdkVersion rootProject.minSdkVersion
|
|
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
|
|
applicationId 'com.facebook.flipper.sample'
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile './AndroidManifest.xml'
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
dependencies {
|
|
// Android Support Library
|
|
implementation deps.supportAppCompat
|
|
|
|
// Litho
|
|
implementation deps.lithoCore
|
|
implementation deps.lithoWidget
|
|
compileOnly deps.lithoAnnotations
|
|
annotationProcessor deps.lithoProcessor
|
|
|
|
// Third-party
|
|
implementation deps.soloader
|
|
implementation deps.okhttp3
|
|
|
|
implementation project(':android')
|
|
}
|