48 lines
1.7 KiB
Groovy
48 lines
1.7 KiB
Groovy
|
apply plugin: 'com.android.application'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion rootProject.ext.gCompileSdkVersion
|
||
|
defaultConfig {
|
||
|
applicationId "com.tengshisoft.cultural"
|
||
|
minSdkVersion rootProject.ext.gMinSdkVersion
|
||
|
targetSdkVersion rootProject.ext.gCompileSdkVersion
|
||
|
versionCode rootProject.ext.gVersionCode
|
||
|
versionName rootProject.ext.gVersionName
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
multiDexEnabled true
|
||
|
ndk {
|
||
|
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
implementation project(':cm_utils')
|
||
|
implementation project(':camera')
|
||
|
implementation files('libs/tbs.jar')
|
||
|
implementation files('libs/BaiduLBS_Android.jar')
|
||
|
//SmartRefreshLayout
|
||
|
implementation "com.scwang.smartrefresh:SmartRefreshLayout:${rootProject.ext.gSmartRefreshLayoutVersion}"
|
||
|
if (IsModuleDev.toBoolean()) {
|
||
|
implementation project(':modulemain')//主模块
|
||
|
implementation project(':moduleactivity')//活动
|
||
|
implementation project(':modulecultural')//文化
|
||
|
implementation project(':moduleplace')//场馆
|
||
|
implementation project(':modulemine')//我的
|
||
|
implementation project(':modulemap')//地图
|
||
|
}
|
||
|
implementation 'androidx.multidex:multidex:2.0.1'
|
||
|
}
|