Summary: Set up our fbjni sub-project to be published to Maven Central. This removes a bunch of abiFilters that we no longer make use of, too. Closes https://github.com/facebook/Sonar/pull/119 Reviewed By: priteshrnandgaonkar Differential Revision: D8694537 Pulled By: passy fbshipit-source-id: de246fbda99c02856fbc7806b78df2114cb82acb
31 lines
724 B
Groovy
31 lines
724 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.minSdkVersion
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
buildConfigField "boolean", "IS_INTERNAL_BUILD", 'true'
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments '-DANDROID_TOOLCHAIN=clang'
|
|
}
|
|
}
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile './ApplicationManifest.xml'
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path './CMakeLists.txt'
|
|
}
|
|
}
|
|
}
|