build.gradle 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.getkeepsafe.dexcount'
  3. android {
  4. lintOptions {
  5. abortOnError false
  6. }
  7. dexOptions {
  8. incremental true
  9. javaMaxHeapSize "4g"
  10. }
  11. signingConfigs {
  12. config {
  13. storeFile file('E:/CompanyProject/applicationsignname[20150409]')
  14. storePassword '13237658359'
  15. keyAlias 'jie-20150409'
  16. keyPassword '13237658359'
  17. }
  18. }
  19. compileSdkVersion 22
  20. buildToolsVersion "22.0.1"
  21. defaultConfig {
  22. applicationId "com.xzjmyk.pm.activity"
  23. minSdkVersion 9
  24. targetSdkVersion 22
  25. compileOptions {
  26. sourceCompatibility JavaVersion.VERSION_1_7
  27. targetCompatibility JavaVersion.VERSION_1_7
  28. }
  29. multiDexEnabled true
  30. signingConfig signingConfigs.config
  31. }
  32. packagingOptions {
  33. exclude 'META-INF/LICENSE.txt'
  34. exclude 'META-INF/NOTICE.txt'
  35. }
  36. buildTypes {
  37. release {
  38. minifyEnabled false
  39. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  40. signingConfig signingConfigs.config
  41. }
  42. debug {
  43. signingConfig signingConfigs.config
  44. }
  45. }
  46. productFlavors {
  47. }
  48. }
  49. buildscript {
  50. repositories {
  51. mavenCentral() // or jcenter()
  52. }
  53. dependencies {
  54. classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.5.5'
  55. }
  56. }
  57. dexcount {
  58. format = "json"
  59. includeClasses = false
  60. includeFieldCount = true
  61. includeTotalMethodCount = false
  62. orderByMethodCount = false
  63. verbose = false
  64. maxTreeDepth = Integer.MAX_VALUE
  65. teamCityIntegration = false
  66. enableForInstantRun = false
  67. }
  68. dependencies {
  69. compile project(':pullToRefershLibraryMy')
  70. compile project(':materialdialogs')
  71. compile project(':MPAndroidChart')
  72. compile project(':libedittextformlibrary')
  73. compile project(':libfloatingactionbutton')
  74. compile project(':libbdupdatesdk')
  75. compile files('libs/android-async-http-1.4.5.jar')
  76. compile files('libs/asmack.jar')
  77. compile files('libs/BaiduLBS_Android.jar')
  78. compile files('libs/cyberplayer-sdk.jar')
  79. compile files('libs/fastjson-1.1.41.jar')
  80. compile files('libs/httpmime-4.2.jar')
  81. compile files('libs/nineoldandroids.jar')
  82. compile files('libs/org.xbill.dns_2.1.6.jar')
  83. compile files('libs/ormlite-android-4.48.jar')
  84. compile files('libs/ormlite-core-4.48.jar')
  85. compile files('libs/pinyin4j-2.5.0.jar')
  86. compile files('libs/universal-image-loader-1.9.0.jar')
  87. compile files('libs/volley.jar')
  88. compile files('libs/pushservice-4.5.5.77.jar')
  89. compile files('libs/xutils.jar')
  90. compile files('libs/flexjson-2.1.jar')
  91. compile 'com.android.support:support-v4:22.2.0'
  92. compile 'com.android.support:appcompat-v7:22.2.0'
  93. compile 'com.android.support:cardview-v7:22.2.0'
  94. compile 'com.android.support:design:22.2.0'
  95. compile 'com.commit451:PhotoView:1.2.5'
  96. compile 'me.gujun.android.taggroup:library:1.4@aar'
  97. compile 'com.umeng.analytics:analytics:latest.integration'
  98. compile 'com.android.support:multidex:1.0.1'
  99. compile project(':library-swipemenu_lv')
  100. compile project(':library-viewpager-indicator')
  101. compile project(':lib-zxing')
  102. compile files('libs/SocialSDK_WeiXin_2.jar')
  103. compile files('libs/SocialSDK_umengwx.jar')
  104. compile files('libs/SocialSDK_QQZone_3.jar')
  105. compile files('libs/SocialSDK_umengqq.jar')
  106. compile files('libs/umeng_social_apiv6.0.0.jar')
  107. compile files('libs/umeng_social_netv6.0.0.jar')
  108. compile files('libs/umeng_social_viewv6.0.0.jar')
  109. compile files('libs/SocialSDK_umengsina.jar')
  110. compile files('libs/SocialSDK_Sina.jar')
  111. compile files('libs/weiboSDKCore_3.1.4.jar')
  112. compile 'cat.ereza:customactivityoncrash:1.5.0'
  113. compile('com.facebook.stetho:stetho:1.4.1') {
  114. force = true
  115. }
  116. releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
  117. debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5'
  118. androidTestCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
  119. }