123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- plugins {
- id 'com.android.library'
- }
- android {
- compileSdkVersion rootProject.ext.android.compileSdkVersion
- buildToolsVersion rootProject.ext.android.buildToolsVersion
- defaultConfig {
- minSdkVersion rootProject.ext.android.minSdkVersion
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- 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'
- }
- }
- buildFeatures {
- buildConfig false
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles 'proguard-rules.pro'
- }
- }
- lintOptions {
- abortOnError false
- }
- repositories {
- flatDir {
- dirs 'libs'
- }
- }
- dexOptions {
- preDexLibraries = false
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_7
- targetCompatibility JavaVersion.VERSION_1_7
- }
- externalNativeBuild {
- cmake {
- path "CMakeLists.txt"
- version '3.10.2'
- }
- }
- }
- dependencies {
- api files('libs/android-support-v4.jar')
- api files('libs/mmkv-static-1.2.8.jar')
- api files('libs/yyxx_support_1.0.1.jar')
- api files('libs/dolin_zap_1.0.0.jar')
- }
|