build.gradle 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.getkeepsafe.dexcount'
  3. android {
  4. signingConfigs {
  5. config {
  6. storeFile file('C:/CompanyProject/applicationsignname[20150409]')
  7. storePassword '13237658359'
  8. keyAlias 'jie-20150409'
  9. keyPassword '13237658359'
  10. }
  11. }
  12. compileSdkVersion 22
  13. buildToolsVersion "22.0.1"
  14. defaultConfig {
  15. applicationId "com.xzjmyk.pm.activity"
  16. minSdkVersion 8
  17. targetSdkVersion 22
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_7
  20. targetCompatibility JavaVersion.VERSION_1_7
  21. }
  22. multiDexEnabled true
  23. signingConfig signingConfigs.config
  24. }
  25. packagingOptions {
  26. exclude 'META-INF/LICENSE.txt'
  27. exclude 'META-INF/NOTICE.txt'
  28. }
  29. buildTypes {
  30. release {
  31. minifyEnabled false
  32. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  33. }
  34. debug {
  35. signingConfig signingConfigs.config
  36. }
  37. }
  38. productFlavors {
  39. }
  40. }
  41. buildscript {
  42. repositories {
  43. mavenCentral() // or jcenter()
  44. }
  45. dependencies {
  46. classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.5.5'
  47. }
  48. }
  49. dexcount {
  50. format = "json"
  51. includeClasses = false
  52. includeFieldCount = true
  53. includeTotalMethodCount = false
  54. orderByMethodCount = false
  55. verbose = false
  56. maxTreeDepth = Integer.MAX_VALUE
  57. teamCityIntegration = false
  58. enableForInstantRun = false
  59. }
  60. dependencies {
  61. compile project(':pullToRefershLibraryMy')
  62. compile project(':materialdialogs')
  63. compile project(':MPAndroidChart')
  64. compile project(':libedittextformlibrary')
  65. compile project(':libfloatingactionbutton')
  66. compile project(':libbdupdatesdk')
  67. compile files('libs/android-async-http-1.4.5.jar')
  68. compile files('libs/asmack.jar')
  69. compile files('libs/BaiduLBS_Android.jar')
  70. compile files('libs/cyberplayer-sdk.jar')
  71. compile files('libs/fastjson-1.1.41.jar')
  72. compile files('libs/httpmime-4.2.jar')
  73. compile files('libs/nineoldandroids.jar')
  74. compile files('libs/org.xbill.dns_2.1.6.jar')
  75. compile files('libs/ormlite-android-4.48.jar')
  76. compile files('libs/ormlite-core-4.48.jar')
  77. compile files('libs/pinyin4j-2.5.0.jar')
  78. compile files('libs/universal-image-loader-1.9.0.jar')
  79. compile files('libs/volley.jar')
  80. compile files('libs/pushservice-4.5.5.77.jar')
  81. compile files('libs/xutils.jar')
  82. compile files('libs/flexjson-2.1.jar')
  83. compile 'com.android.support:support-v4:22.2.0'
  84. compile 'com.android.support:appcompat-v7:22.2.0'
  85. compile 'com.android.support:cardview-v7:22.2.0'
  86. compile 'com.android.support:design:22.2.0'
  87. compile 'com.commit451:PhotoView:1.2.5'
  88. compile 'me.gujun.android.taggroup:library:1.4@aar'
  89. compile 'com.umeng.analytics:analytics:latest.integration'
  90. compile 'com.android.support:multidex:1.0.1'
  91. compile project(':library-swipemenu_lv')
  92. compile project(':library-viewpager-indicator')
  93. }