plugins { id 'com.android.application' id 'kotlin-android' // id 'kotlin-android-extensions' id 'kotlin-kapt' id 'org.jetbrains.kotlin.android' id 'kotlin-parcelize' } android { compileSdk rootProject.ext.compileSdkVersion defaultConfig { applicationId "com.xjjk.healthyclients" minSdk rootProject.ext.minSdkVersion targetSdk rootProject.ext.targetSdkVersion versionCode rootProject.ext.versionCode versionName rootProject.ext.versionName ndk { // 选择实际需要的cpu架构 abiFilters 'armeabi-v7a', 'arm64-v8a'//, 'x86', 'x86_64' } // manifestPlaceholders = [ // JPUSH_PKGNAME : applicationId, // JPUSH_APPKEY : "45f403286fced2b6dda971f9", //JPush 上注册的包名对应的 Appkey. // JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可. // XIAOMI_APPID : "MI-小米的APPID", // XIAOMI_APPKEY : "MI-小米的APPKEY", // OPPO_APPKEY : "OP-oppo的APPKEY", // OPPO_APPID : "OP-oppo的APPID", // OPPO_APPSECRET : "OP-oppo的APPSECRET", // VIVO_APPKEY : "vivo的APPKEY", // VIVO_APPID : "vivo的APPID", // HONOR_APPID : "Honor的APP ID" // ] } signingConfigs{ release { storeFile file('/key/XinJiangUser-release.jks') storePassword "renkang1234" keyAlias "renkang" keyPassword "renkang1234" } } buildTypes { debug { // debuggable false signingConfig signingConfigs.release } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release android.applicationVariants.all { variant -> variant.outputs.all { output -> def sourceFile = "app-release" def replaceFile = "app-xinjiang_user_v${defaultConfig.versionName}" outputFileName = output.outputFile.name.replace(sourceFile, replaceFile) } } } } compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = '1.8' } packagingOptions { exclude 'META-INF/gradle/incremental.annotation.processors' exclude 'DebugProbesKt.bin' } testOptions { unitTests.returnDefaultValues = true } dataBinding { enabled = true } kapt { generateStubs = true } sourceSets { main { jniLibs.srcDirs = ['libs'] res.srcDirs = [ 'src/main/res-health-check', 'src/main/res-health-record', // 'src/main/res-intervention', 'src/main/res-intervention2', 'src/main/res-gastrointestinal', 'src/main/res-guidance', 'src/main/res-dossier', 'src/main/res-emergency', 'src/main/res-service-centre', 'src/main/res-user', 'src/main/res-knowledge', 'src/main/res-other', 'src/main/res' ] } } } dependencies { implementation files('libs\\BASE64Encoder.jar') // implementation files('libs\\com.heytap.msp_3.1.0.aar') //CGM // implementation files('libs/cgmlib-release.aar') // implementation files('libs/blecomm-release.aar') // implementation files('libs/cgat-release.aar') // implementation files('libs/bgmlib-release.aar') /*高德地图*/ implementation rootProject.ext.mapLibs implementation project(path: ':video') implementation project(path: ':core') // implementation project(path: ':ALibs') implementation project(path: ':rsalibrary') implementation project(path: ':AgentWebCore') implementation project(path: ':AAChartCore') implementation project(path: ':xpopup') implementation project(':tuichat') implementation project(':tuicontact') implementation project(':tuiconversation') implementation project(':tuigroup') implementation project(':tuicallkit') //JSoup api 'org.jsoup:jsoup:1.12.1' implementation 'com.tencent.mm.opensdk:wechat-sdk-android:+' }