build.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. apply from: "../runing_default_config.gradle"
  2. //apply plugin: 'com.didiglobal.booster'
  3. android {
  4. defaultConfig {
  5. versionCode 100
  6. versionName "1.0.0"
  7. applicationId "com.hongyegroup.zhurijob"
  8. resConfigs('zh-rCN')
  9. ndk {
  10. //选择要添加的对应cpu类型的.so库。
  11. abiFilters 'armeabi-v7a', 'arm64-v8a'
  12. }
  13. }
  14. buildTypes {
  15. release {
  16. //默认系统混淆
  17. minifyEnabled true
  18. // 不显示Log
  19. buildConfigField "boolean", "LOG_DEBUG", "false"
  20. //是否可调试
  21. debuggable false
  22. //Zipalign优化
  23. zipAlignEnabled true
  24. //移除无用的resource文件
  25. shrinkResources true
  26. multiDexKeepProguard file('multidex-config.pro')
  27. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  28. }
  29. debug {
  30. debuggable true
  31. multiDexKeepProguard file('multidex-config.pro')
  32. }
  33. }
  34. }
  35. dependencies {
  36. //依赖模块
  37. implementation project(':cs_cptServices')
  38. implementation project(':cpt_auth')
  39. implementation project(':cpt_main')
  40. implementation project(':cpt_parttime')
  41. implementation project(':cpt_ewallet')
  42. implementation project(':cpt_rewards')
  43. implementation project(':cpt_newsfeed')
  44. }