90 lines
3.9 KiB
Groovy
Executable File
90 lines
3.9 KiB
Groovy
Executable File
apply plugin: 'com.android.application'
|
||
|
||
android {
|
||
signingConfigs {
|
||
release {
|
||
storeFile file('/Users/adam/Documents/work/keystore/tengshi.jks')
|
||
storePassword 'aaa111!!!'
|
||
keyAlias = 'tengshi'
|
||
keyPassword 'aaa111!!!'
|
||
}
|
||
debug {
|
||
storeFile file('/Users/adam/Documents/work/keystore/tengshi.jks')
|
||
storePassword 'aaa111!!!'
|
||
keyAlias = 'tengshi'
|
||
keyPassword 'aaa111!!!'
|
||
}
|
||
}
|
||
compileSdkVersion rootProject.ext.gCompileSdkVersion
|
||
buildToolsVersion rootProject.ext.gBuildToolsVersion
|
||
defaultConfig {
|
||
applicationId applicationId
|
||
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"
|
||
}
|
||
|
||
manifestPlaceholders = [
|
||
JSHARE_PKGNAME: "com.tengshisoft.cultural",
|
||
JPUSH_APPKEY : "9575fdffe323b4febdd385dd", //极光控制台创建应用得到的AppKey.
|
||
JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
|
||
TENCENT_APPID : "101880285",//腾讯开放平台注册应用得到的appId
|
||
]
|
||
flavorDimensions("market")
|
||
}
|
||
|
||
buildTypes {
|
||
release {
|
||
minifyEnabled false
|
||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
}
|
||
}
|
||
compileOptions {
|
||
sourceCompatibility JavaVersion.VERSION_1_8
|
||
targetCompatibility JavaVersion.VERSION_1_8
|
||
}
|
||
productFlavors projectProductFlavors
|
||
}
|
||
|
||
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')
|
||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||
//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 project(':moduleshop')//商城
|
||
implementation project(':moduleshop')//地图
|
||
}
|
||
implementation 'androidx.multidex:multidex:2.0.1'
|
||
implementation 'com.github.jarryleo:MagicScreenAdapter:v2.1'
|
||
//glide
|
||
implementation "com.github.bumptech.glide:glide:${rootProject.ext.supportGlide}"
|
||
annotationProcessor "com.github.bumptech.glide:compiler:${rootProject.ext.supportGlide}"
|
||
//状态栏
|
||
implementation 'com.gyf.immersionbar:immersionbar:2.3.3'
|
||
//分享
|
||
implementation 'cn.jiguang.sdk:jshare:1.8.0' // 此处以JShare 1.6.0 版本为例,具体版本请参考压缩包libs的jar包版本。
|
||
implementation 'cn.jiguang.sdk:jshare-qqmodel:1.8.0' // 此处以jshare-qqmodel 1.6.0 版本为例,具体版本请参考压缩包libs的jar包版本。
|
||
implementation 'cn.jiguang.sdk:jshare-wechatmodel:1.8.0'
|
||
// 此处以jshare-wechatmodel 1.6.0 版本为例,具体版本请参考压缩包libs的jar包版本。
|
||
implementation 'cn.jiguang.sdk:jshare-sinamodel:1.8.0' // 此处以jshare-sinamodel 1.6.0 版本为例,具体版本请参考压缩包libs的jar包版本。
|
||
implementation 'cn.jiguang.sdk:jcore:1.2.3'
|
||
implementation 'androidx.appcompat:appcompat:1.4.1'
|
||
}
|