build.gradle 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'org.greenrobot.greendao'
  3. android {
  4. compileSdkVersion 28
  5. defaultConfig {
  6. applicationId "com.bgy.autosale"
  7. minSdkVersion 21
  8. targetSdkVersion 28
  9. versionCode 1
  10. versionName "1.0"
  11. consumerProguardFiles 'consumer-rules.pro'
  12. }
  13. signingConfigs {
  14. debug {
  15. keyAlias 'key0'
  16. keyPassword '00000000'
  17. storeFile file('../bgy.jks')
  18. storePassword '00000000'
  19. }
  20. release {
  21. keyAlias 'key0'
  22. keyPassword '00000000'
  23. storeFile file('../bgy.jks')
  24. storePassword '00000000'
  25. }
  26. }
  27. buildTypes {
  28. release {
  29. minifyEnabled true
  30. //Zipalign优化
  31. zipAlignEnabled true
  32. // 移除无用的resource文件
  33. shrinkResources true
  34. // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  35. signingConfig signingConfigs.release
  36. }
  37. }
  38. compileOptions {
  39. sourceCompatibility JavaVersion.VERSION_1_8
  40. targetCompatibility JavaVersion.VERSION_1_8
  41. }
  42. greendao {
  43. schemaVersion 1
  44. daoPackage 'com.exapmple.icecreamlite.greendao'
  45. }
  46. packagingOptions {
  47. exclude 'META-INF/io.netty.versions.properties'
  48. }
  49. }
  50. dependencies {
  51. // implementation 'com.github.bumptech.glide:glide:4.9.0'
  52. // implementation 'com.android.support:appcompat-v7:28.0.0'
  53. // implementation 'com.android.support:recyclerview-v7:28.0.0'
  54. // implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  55. //rxjava
  56. // implementation 'io.reactivex.rxjava2:rxjava:2.2.2'
  57. // implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
  58. //网络 okhttp + gson解析
  59. // implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
  60. // implementation 'com.squareup.retrofit2:retrofit:2.5.0'
  61. // implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
  62. // implementation 'android.arch.work:work-runtime:1.0.1'
  63. //二维码
  64. // implementation 'com.google.zxing:core:3.3.3'
  65. // api files('libs/zixing-core-3.2.0.jar')
  66. //bannerview 轮播图的
  67. implementation 'com.youth.banner:banner:1.4.10'
  68. //数据库
  69. // api 'org.greenrobot:greendao:3.2.2'
  70. // api 'org.greenrobot:greendao-generator:3.2.2'
  71. // implementation 'com.github.orhanobut:hawk:1.21'
  72. implementation project(path: ':module_offpay')
  73. implementation project(':module_offpay')
  74. implementation project(':BaseLibrary')
  75. implementation project(path: ':lm-library')
  76. }