android小炒设备
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

91 lines
3.4 KiB

  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion rootProject.ext.compileSdkVersion
  4. buildToolsVersion rootProject.ext.buildToolsVersion
  5. defaultConfig {
  6. applicationId "com.bonait.bnframework"
  7. minSdkVersion rootProject.ext.minSdkVersion
  8. targetSdkVersion rootProject.ext.targetSdkVersion
  9. versionCode rootProject.ext.versionCode
  10. versionName rootProject.ext.versionName
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. resValue("bool","superAdminTest","false")
  18. }
  19. debug {
  20. resValue("string", "PORT_NUMBER", "8081")
  21. resValue("bool","superAdminTest","true")
  22. }
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(include: ['*.jar'], dir: 'libs')
  27. //测试相关
  28. testImplementation 'junit:junit:4.13-beta-2'
  29. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  30. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  31. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  32. //支持包
  33. implementation 'com.android.support:design:28.0.0'
  34. implementation 'com.android.support:appcompat-v7:28.0.0'
  35. implementation "com.android.support:recyclerview-v7:$rootProject.supportVersion"
  36. implementation "com.android.support:design:$rootProject.supportVersion"
  37. implementation "com.android.support:cardview-v7:$rootProject.supportVersion"
  38. implementation "com.android.support:support-vector-drawable:$rootProject.supportVersion"
  39. // QMUI框架 link: http://qmuiteam.com/android
  40. // 本App 搭建的基础框架,基本使用控件功能请看官网的功能列表
  41. implementation 'com.qmuiteam:qmui:1.2.0'
  42. implementation 'com.qmuiteam:arch:0.3.1'
  43. // RecyclerAdapter框架
  44. implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.46'
  45. // OKGO网络协议封装框架
  46. implementation 'com.lzy.net:okgo:3.0.4'
  47. implementation 'com.google.code.gson:gson:2.8.0'
  48. // easyPermissions权限管理
  49. implementation 'pub.devrel:easypermissions:2.0.1'
  50. // butterKnife黄油刀
  51. implementation "com.jakewharton:butterknife:$rootProject.butterknife"
  52. annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.butterknife"
  53. // SuperTextView
  54. implementation 'com.github.lygttpod:SuperTextView:2.1.8'
  55. // android-saripaar 基于规则的Android表单验证库
  56. implementation 'com.mobsandgeeks:android-saripaar:2.0.3'
  57. // litePal 数据库操作框架
  58. implementation 'org.litepal.android:java:3.0.0'
  59. // SmartShow Toast框架,解决不同机型弹出方式缺陷问题
  60. implementation 'com.github.the-pig-of-jungle.smart-show:toast:2.6.7'
  61. // debug调试app本地数据库
  62. debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
  63. // log日志框架
  64. implementation 'com.orhanobut:logger:2.2.0'
  65. // leak 内存泄漏检测
  66. debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.3'
  67. releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
  68. // Optional, if you use support library fragments:
  69. debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.3'
  70. implementation files('libs/commons-codec-1.6.jar')
  71. }