2019-10-15 10:30:08 -07:00
|
|
|
/*
|
2022-10-04 13:59:32 -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.
|
|
|
|
*/
|
|
|
|
|
2023-05-31 14:48:05 -07:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
2023-05-31 15:22:21 -07:00
|
|
|
id("publish")
|
2023-05-31 14:48:05 -07:00
|
|
|
}
|
2017-02-23 04:57:18 -08:00
|
|
|
|
|
|
|
android {
|
2023-01-16 04:16:07 -08:00
|
|
|
namespace 'com.facebook.yoga.android'
|
|
|
|
|
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:18 -08:00
|
|
|
|
|
|
|
defaultConfig {
|
2017-04-19 10:48:59 -07:00
|
|
|
minSdkVersion rootProject.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.targetSdkVersion
|
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
|
|
|
}
|
2023-05-05 04:07:40 -07:00
|
|
|
|
|
|
|
publishing {
|
|
|
|
multipleVariants {
|
|
|
|
withSourcesJar()
|
2023-06-08 02:23:48 -07:00
|
|
|
withJavadocJar()
|
2023-05-05 04:07:40 -07:00
|
|
|
includeBuildTypeValues('debug', 'release')
|
|
|
|
}
|
|
|
|
}
|
2017-02-23 04:57:18 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-11-08 09:45:13 -08:00
|
|
|
api project(':yoga')
|
2017-02-23 04:57:18 -08:00
|
|
|
}
|