xz_cultural/app/build.gradle
2022-12-20 10:32:09 +08:00

295 lines
15 KiB
Groovy
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 '30.0.2'
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"
}
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'
android.applicationVariants.all {
variant ->
variant.outputs.all {
outputFileName = "${variant.productFlavors[0].name}" + "-v" + defaultConfig.versionName + "-c" + defaultConfig.versionCode + ".apk"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
productFlavors {
sangzhuzi {
applicationId "com.tenlion.cultural.sangzhuzi"
dimension 'market'
resValue "string", "APP_CHANNEL", "sangzhuzi"
manifestPlaceholders = [CHANNEL_VALUE: "sangzhuzi",
APP_LOGO : "@drawable/app_logoo",
CITY_ID : "640676",
CITY_CODE : "540202000000",
BD_KEY : "ipb1ae32sNDRMbwOOpApG6bVBji9K86R",
APP_NAME : "桑珠孜区数字文化云"]
}
nanmulin {
applicationId "com.tenlion.cultural.nanmulin"
dimension 'market'
resValue "string", "APP_CHANNEL", "nanmulin"
manifestPlaceholders = [CHANNEL_VALUE: "nanmulin",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "640865",
CITY_CODE : "540221000000",
BD_KEY : "g0G2QLpGCAFV8QKxKo5irCZDwPlCPRTQ",
APP_NAME : "南木林县数字文化云"]
}
jiangzi {
applicationId "com.tenlion.cultural.jiangzi"
dimension 'market'
resValue "string", "APP_CHANNEL", "jiangzi"
manifestPlaceholders = [CHANNEL_VALUE: "jiangzi",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "641029",
CITY_CODE : "540222000000",
BD_KEY : "ZkcqIoGvjy8EfIwaal796KSNEWFsmObL",
APP_NAME : "江孜县数字文化云"]
}
dingri {
applicationId "com.tenlion.cultural.dingri"
dimension 'market'
resValue "string", "APP_CHANNEL", "dingri"
manifestPlaceholders = [CHANNEL_VALUE: "dingri",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "641204",
CITY_CODE : "540223000000",
BD_KEY : "ql1MLXVWxztmqN2cdxGpe7aYdcvNdRSd",
APP_NAME : "定日县数字文化云"]
}
sajia {
applicationId "com.tenlion.cultural.sajia"
dimension 'market'
resValue "string", "APP_CHANNEL", "sajia"
manifestPlaceholders = [CHANNEL_VALUE: "sajia",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "641393",
CITY_CODE : "540224000000",
BD_KEY : "PoMpzyP5FGptOGR4dFByXd6euQ66IDI5",
APP_NAME : "萨迦县数字文化云"]
}
lazi {
applicationId "com.tenlion.cultural.lazi"
dimension 'market'
resValue "string", "APP_CHANNEL", "lazi"
manifestPlaceholders = [CHANNEL_VALUE: "lazi",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "641512",
CITY_CODE : "540225000000",
BD_KEY : "LYw9cxjZ6eNLQ5vFIMvmcvafENtfIG8y",
APP_NAME : "拉孜县数字文化云"]
}
angren {
applicationId "com.tenlion.cultural.angren"
dimension 'market'
resValue "string", "APP_CHANNEL", "angren"
manifestPlaceholders = [CHANNEL_VALUE: "angren",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "641622",
CITY_CODE : "540226000000",
BD_KEY : "YGTBM02Sgut6xqT9D5lrcfeYqBhE6Ncr",
APP_NAME : "昂仁县数字文化云"]
}
xietongmen {
applicationId "com.tenlion.cultural.xietongmen"
dimension 'market'
resValue "string", "APP_CHANNEL", "xietongmen"
manifestPlaceholders = [CHANNEL_VALUE: "xietongmen",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "641825",
CITY_CODE : "540227000000",
BD_KEY : "3Y4ZNEGjTGt9iFSHpF1r1iNdnCBxmYIg",
APP_NAME : "谢通门县数字文化云"]
}
bailang {
applicationId "com.tenlion.cultural.bailang"
dimension 'market'
resValue "string", "APP_CHANNEL", "bailang"
manifestPlaceholders = [CHANNEL_VALUE: "bailang",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "641940",
CITY_CODE : "540228000000",
BD_KEY : "DlnhdI1CmTqBZBCRFkGdnxrDaStkQsu5",
APP_NAME : "白朗县数字文化云"]
}
renbu {
applicationId "com.tenlion.cultural.renbu"
dimension 'market'
resValue "string", "APP_CHANNEL", "renbu"
manifestPlaceholders = [CHANNEL_VALUE: "renbu",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "642063",
CITY_CODE : "540229000000",
BD_KEY : "UL2rUUtPhOq3xBBWpnDGiEuTNHLvtWuh",
APP_NAME : "仁布县数字文化云"]
}
kangma {
applicationId "com.tenlion.cultural.kangma"
dimension 'market'
resValue "string", "APP_CHANNEL", "kangma"
manifestPlaceholders = [CHANNEL_VALUE: "kangma",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "642146",
CITY_CODE : "540230000000",
BD_KEY : "kQsUL41b09E3nhtNIo2ohEKalWwhDFeV",
APP_NAME : "康马县数字文化云"]
}
dingjie {
applicationId "com.tenlion.cultural.dingjie"
dimension 'market'
resValue "string", "APP_CHANNEL", "dingjie"
manifestPlaceholders = [CHANNEL_VALUE: "dingjie",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "642203",
CITY_CODE : "540231000000",
BD_KEY : "4rGrPthpteXXbkyrQXYkbX34YQ31PpH5",
APP_NAME : "定结县数字文化云"]
}
zhongba {
applicationId "com.tenlion.cultural.zhongba"
dimension 'market'
resValue "string", "APP_CHANNEL", "zhongba"
manifestPlaceholders = [CHANNEL_VALUE: "zhongba",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "642284",
CITY_CODE : "540232000000",
BD_KEY : "HpPUfcA5QdexPDpP7QOakTFGHGGtmSQo",
APP_NAME : "仲巴县数字文化云"]
}
yadong {
applicationId "com.tenlion.cultural.yadong"
dimension 'market'
resValue "string", "APP_CHANNEL", "yadong"
manifestPlaceholders = [CHANNEL_VALUE: "yadong",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "642356",
CITY_CODE : "540233000000",
BD_KEY : "vICh5EdGtR5k2RdTaXYWoyDLBai2fVof",
APP_NAME : "亚东县数字文化云"]
}
jilong {
applicationId "com.tenlion.cultural.jilong"
dimension 'market'
resValue "string", "APP_CHANNEL", "jilong"
manifestPlaceholders = [CHANNEL_VALUE: "jilong",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "642389",
CITY_CODE : "540234000000",
BD_KEY : "1uYUV884B8jzRnQG3FlZe5484mWWBkr4",
APP_NAME : "吉隆县数字文化云"]
}
nielamu {
applicationId "com.tenlion.cultural.nielamu"
dimension 'market'
resValue "string", "APP_CHANNEL", "nielamu"
manifestPlaceholders = [CHANNEL_VALUE: "nielamu",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "642437",
CITY_CODE : "540235000000",
BD_KEY : "EZOGc1TFrNolwpiwDNWgaTIzCYQOKrk0",
APP_NAME : "聂拉木县数字文化云"]
}
saga {
applicationId "com.tenlion.cultural.saga"
dimension 'market'
resValue "string", "APP_CHANNEL", "saga"
manifestPlaceholders = [CHANNEL_VALUE: "saga",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "642489",
CITY_CODE : "540236000000",
BD_KEY : "FzlGpMenDV34XFpGWIuiO4s6Tw2otlIK",
APP_NAME : "萨嘎县数字文化云"]
}
gangba {
applicationId "com.tenlion.cultural.gangba"
dimension 'market'
resValue "string", "APP_CHANNEL", "gangba"
manifestPlaceholders = [CHANNEL_VALUE: "gangba",
APP_LOGO : "@drawable/app_logo",
CITY_ID : "642536",
CITY_CODE : "540237000000",
BD_KEY : "PCSYjtiOsUEBCpK5SjZ2xsBN55jqfsIl",
APP_NAME : "岗巴县数字文化云"]
}
}
}
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 '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'
}