Set up Gradle build for yogacore

Summary:
I put the CMake file in the root directory to avoid moving the actual `yoga/`
dir around, but created a directory for the Android library manifest nonsense
so it works as its own module you can depend on.

Reviewed By: emilsjolander

Differential Revision: D4913601

fbshipit-source-id: 582064264cf0b6b69c03d0e72ed9dd22d217dd16
This commit is contained in:
Pascal Hartig
2017-04-19 12:22:08 -07:00
committed by Facebook Github Bot
parent 8c50347f3c
commit 034ab0b3b1
5 changed files with 50 additions and 2 deletions

17
yogacore/build.gradle Normal file
View File

@@ -0,0 +1,17 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.compileSdkVersion
buildToolsVersion rootProject.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.targetSdkVersion
}
externalNativeBuild {
cmake {
path '../CMakeLists.txt'
}
}
}