Let the Yoga sample app compile
Summary: The sample app is really old and has a lot of legacy code. Here I'm refreshing it a bit. Will do another pass later (perhaps rewrite it in Kotlin?). Reviewed By: mdvacca Differential Revision: D45694414 fbshipit-source-id: 36a84609b0dcf5b4a5237da900f665e4eb7895a5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
420f0016c6
commit
172bd0a88e
32
sample/build.gradle
Normal file
32
sample/build.gradle
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.application'
|
||||
|
||||
android {
|
||||
namespace 'com.facebook.yoga.sample'
|
||||
|
||||
compileSdkVersion rootProject.compileSdkVersion
|
||||
buildToolsVersion rootProject.buildToolsVersion
|
||||
ndkVersion rootProject.ndkVersion
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion rootProject.minSdkVersion
|
||||
targetSdkVersion rootProject.targetSdkVersion
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
targetCompatibility rootProject.targetCompatibilityVersion
|
||||
sourceCompatibility rootProject.sourceCompatibilityVersion
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':yoga-layout')
|
||||
implementation("androidx.appcompat:appcompat:1.6.1")
|
||||
implementation("com.facebook.soloader:soloader:0.10.4")
|
||||
}
|
Reference in New Issue
Block a user