2019-10-15 10:30:08 -07:00
|
|
|
/*
|
2022-07-20 15:18:18 -07:00
|
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
2018-10-24 03:09:58 -07:00
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
2022-07-20 15:18:18 -07:00
|
|
|
|
2017-02-23 04:57:16 -08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2023-01-16 04:16:07 -08:00
|
|
|
namespace 'com.facebook.yoga'
|
|
|
|
|
2017-04-19 10:48:59 -07:00
|
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.buildToolsVersion
|
2021-05-21 11:14:07 -07:00
|
|
|
ndkVersion rootProject.ndkVersion
|
2017-02-23 04:57:16 -08:00
|
|
|
|
2017-02-23 04:57:18 -08:00
|
|
|
defaultConfig {
|
2017-04-19 10:48:59 -07:00
|
|
|
minSdkVersion rootProject.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.targetSdkVersion
|
2017-04-19 12:22:09 -07:00
|
|
|
|
|
|
|
ndk {
|
2018-10-05 08:24:44 -07:00
|
|
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
2017-04-19 12:22:09 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
2023-01-16 04:16:07 -08:00
|
|
|
version rootProject.cmakeVersion
|
2017-04-19 12:22:09 -07:00
|
|
|
path 'CMakeLists.txt'
|
|
|
|
}
|
2017-02-23 04:57:18 -08:00
|
|
|
}
|
2017-02-23 04:57:16 -08:00
|
|
|
|
2017-02-23 04:57:18 -08:00
|
|
|
compileOptions {
|
2017-04-19 10:48:59 -07:00
|
|
|
targetCompatibility rootProject.targetCompatibilityVersion
|
|
|
|
sourceCompatibility rootProject.sourceCompatibilityVersion
|
2017-02-23 04:57:18 -08:00
|
|
|
}
|
2017-02-23 04:57:16 -08:00
|
|
|
|
2017-02-23 04:57:18 -08:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java.srcDir 'com'
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
res.srcDirs = ['res']
|
2017-05-22 10:04:34 -07:00
|
|
|
}
|
2017-02-23 04:57:16 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-21 11:40:17 -07:00
|
|
|
implementation 'com.google.code.findbugs:jsr305:3.0.2'
|
2019-09-16 09:12:44 -07:00
|
|
|
implementation project(':yoga:proguard-annotations')
|
2022-07-20 15:18:18 -07:00
|
|
|
implementation 'com.facebook.soloader:soloader:0.10.4'
|
2017-11-08 09:45:13 -08:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2017-02-23 04:57:16 -08:00
|
|
|
}
|
2021-05-21 11:40:17 -07:00
|
|
|
|
|
|
|
apply plugin: 'com.vanniktech.maven.publish'
|