build.gradle 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. ndk {
  25. // 设置支持的SO库架构
  26. abiFilters 'armeabi' //, 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
  27. }
  28. }
  29. packagingOptions {
  30. exclude 'META-INF/LICENSE.txt'
  31. exclude 'META-INF/NOTICE.txt'
  32. }
  33. buildTypes {
  34. release {
  35. minifyEnabled false
  36. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  37. }
  38. debug {
  39. signingConfig signingConfigs.config
  40. }
  41. }
  42. productFlavors {
  43. }
  44. }
  45. buildscript {
  46. repositories {
  47. mavenCentral() // or jcenter()
  48. }
  49. dependencies {
  50. classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.5.5'
  51. }
  52. }
  53. dexcount {
  54. format = "json"
  55. includeClasses = false
  56. includeFieldCount = true
  57. includeTotalMethodCount = false
  58. orderByMethodCount = false
  59. verbose = false
  60. maxTreeDepth = Integer.MAX_VALUE
  61. teamCityIntegration = false
  62. enableForInstantRun = false
  63. }
  64. dependencies {
  65. compile project(':pullToRefershLibraryMy')
  66. compile project(':materialdialogs')
  67. compile project(':MPAndroidChart')
  68. compile project(':libedittextformlibrary')
  69. compile project(':libfloatingactionbutton')
  70. compile project(':libbdupdatesdk')
  71. compile files('libs/android-async-http-1.4.5.jar')
  72. compile files('libs/asmack.jar')
  73. compile files('libs/BaiduLBS_Android.jar')
  74. compile files('libs/cyberplayer-sdk.jar')
  75. compile files('libs/fastjson-1.1.41.jar')
  76. compile files('libs/httpmime-4.2.jar')
  77. compile files('libs/nineoldandroids.jar')
  78. compile files('libs/org.xbill.dns_2.1.6.jar')
  79. compile files('libs/ormlite-android-4.48.jar')
  80. compile files('libs/ormlite-core-4.48.jar')
  81. compile files('libs/pinyin4j-2.5.0.jar')
  82. compile files('libs/universal-image-loader-1.9.0.jar')
  83. compile files('libs/volley.jar')
  84. compile files('libs/pushservice-4.5.5.77.jar')
  85. compile files('libs/xutils.jar')
  86. compile files('libs/flexjson-2.1.jar')
  87. compile 'com.android.support:support-v4:22.2.0'
  88. compile 'com.android.support:appcompat-v7:22.2.0'
  89. compile 'com.android.support:cardview-v7:22.2.0'
  90. compile 'com.android.support:design:22.2.0'
  91. compile 'com.commit451:PhotoView:1.2.5'
  92. compile 'me.gujun.android.taggroup:library:1.4@aar'
  93. compile 'com.umeng.analytics:analytics:latest.integration'
  94. compile 'com.android.support:multidex:1.0.1'
  95. }