123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- plugins {
- id 'com.android.library'
- }
- android {
- compileSdk rootProject.ext.android.compileSdk
- buildToolsVersion rootProject.ext.android.buildToolsVersion
- defaultConfig {
- minSdk rootProject.ext.android.minSdk
- targetSdk rootProject.ext.android.targetSdk
- externalNativeBuild {
- cmake {
- cppFlags '-std=c++11 -frtti -fexceptions -lz'
- abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
- }
- }
- ndk {
- // 设置支持的SO库架构
- abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
- }
- }
- buildTypes {
- release {
- minifyEnabled rootProject.ext.module.minifyEnabled
- proguardFiles 'proguard-rules.pro'
- }
- }
- buildFeatures {
- buildConfig false
- }
- lintOptions {
- abortOnError false
- }
- dexOptions {
- preDexLibraries false
- }
- externalNativeBuild {
- cmake {
- path "CMakeLists.txt"
- }
- }
- }
- dependencies {
- }
|