| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- apply plugin: 'com.android.application'
- android {
- splits {
- abi {
- enable true
- reset()
- include 'armeabi-v7a'
- universalApk true
- }
- }
- signingConfigs {
- }
- compileSdkVersion 26
- defaultConfig {
- applicationId "com.usai.apex"
- minSdkVersion 23
- targetSdkVersion 26
- versionCode 18
- versionName "A190316"
- // multiDexEnabled true
- // ndk {
- // abiFilters "armeabi-v7a" // 指定要ndk需要兼容的架构(这样其他依赖包里mips,x86,armeabi,arm-v8之类的so会被过滤掉)
- // }
- }
- buildTypes {
- release {
- minifyEnabled true
- zipAlignEnabled true
- shrinkResources true
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-project.txt'
- }
- debug {
- // minifyEnabled true
- // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
- }
- }
- sourceSets {
- main {
- jniLibs.srcDir 'libs'
- //说明so的路径为该libs路径,关联所有地图SDK的so文件
- }
- }
- }
- dependencies {
- // compile 'com.android.support:support-v4:19.1.0'
- api 'com.android.support:appcompat-v7:26.1.0'
- api 'com.android.support:support-v4:26.1.0'
- api 'com.android.support.constraint:constraint-layout:1.1.3'
- api 'com.android.support:design:26.1.0'
- // compile 'com.android.support:recyclerview-v7:26.1.0'
- // compile 'com.google.android.gms:play-services:11.0.4'
- api 'com.google.android.gms:play-services-maps:16.0.0'
- // api 'com.google.android.gms:play-services-location:11.4.2'
- // compile files('libs/baidumapapi_base_v3_7_1.jar')
- // compile files('libs/baidumapapi_map_v3_7_1.jar')
- // api 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5'
- implementation files('libs/BaiduLBS_Android.jar')
- implementation project(path: ':RAUtilsLibrary')
- implementation project(':apexmap')
- }
- android {
- useLibrary 'org.apache.http.legacy'
- }
|