123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'kotlin-kapt'
- //apply plugin: 'com.enation.javashop.aspectjrt'
- kapt {
- arguments {
- arg("moduleName", project.getName())
- }
- }
- android {
- // wuyq add for sign begin
- signingConfigs {
- release {
- storeFile file("keystore_wuyuqing_3128/rk3128.jks")
- storePassword "111111"
- keyAlias "rk3128"
- keyPassword "111111"
- }
- debug {
- storeFile file("keystore_wuyuqing_3128/rk3128.jks")
- storePassword "111111"
- keyAlias "rk3128"
- keyPassword "111111"
- }
- }
- // wuyq add for sign end
- compileSdkVersion target_sdk_version
- buildToolsVersion build_tools_version
- aaptOptions.cruncherEnabled = false
- aaptOptions.useNewCruncher = false
- defaultConfig {
- applicationId "com.wdkl.app.ncs.callingbed"
- minSdkVersion min_sdk_version
- targetSdkVersion target_sdk_version
- versionCode app_version_code
- versionName app_version
- multiDexEnabled true
- dataBinding {
- enabled = true
- }
- ndk {
- //选择要添加的对应cpu类型的.so库。
- abiFilters 'armeabi', 'armeabi-v7a', 'armeabi-v8a' ,'x86', 'x86_64', 'mips', 'mips64'
- }
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- signingConfig signingConfigs.release
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- debug {
- signingConfig signingConfigs.debug
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- sourceSets {
- main.java.srcDirs += 'src/main/code'
- }
- lintOptions{
- checkReleaseBuilds false
- abortOnError false
- }
- dexOptions {
- javaMaxHeapSize "4g"
- jumboMode=true
- preDexLibraries=true
- threadCount=8
- }
- }
- dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- /**
- * 单元测试
- */
- testCompile 'junit:junit:4.12'
- /**
- * Dagger编译依赖
- */
- kapt 'com.google.dagger:dagger-compiler:2.7'
- /**
- * 内存泄漏监控
- */
- debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
- releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
- testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
- /**
- * Kotlin依赖
- */
- kapt 'com.android.databinding:compiler:2.3.3'
- /**
- * 路由注解处理器
- */
- kapt "com.enation.geamtear:jrouter-compiler:$router_version"
- /**
- * 外部化Moudle配置
- * moudle独立编译配置
- */
- if (!componentTag) {
- compile project(':welcome') // ===> 开始模块 建议在模块内添加广告 欢迎页 等页面
- compile project(':home') // ===> 主页模块 里面一般是App的首页 分类楼层页面
- compile project(':shop') // ===> 店铺模块 店铺列表 详细 等
- compile project(':setting') // ===> 设置模块 设置 缓存 App分享等
- compile project(':extra') // ===> 额外的一些页面 比如二维码扫描等一些附加功能
- compile project(':hello')
- compile project(':callingbed')
- }
- /**
- * JavaShopAndroid 中间件依赖库
- */
- compile project(':middleware')
- /**
- * constraint-layout布局依赖
- */
- compile 'com.android.support.constraint:constraint-layout:1.1.0-beta5'
- }
- ///**
- // * kawo组件化框架配置
- // */
- //kawo {
- // /**
- // * Aop注解排除Jar
- // */
- // aspectExcludeJarFilter 'com.enation.geamtear.pay','AlipaySdk'
- //}
- //
|