build.gradle 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'realm-android'
  3. android {
  4. signingConfigs {
  5. release {
  6. storeFile file('commonkey')
  7. storePassword 'away6899458'
  8. keyAlias = 'sz'
  9. keyPassword 'away6899458'
  10. }
  11. }
  12. compileSdkVersion 27
  13. defaultConfig {
  14. applicationId "com.itant.shiwushu"
  15. minSdkVersion 19
  16. targetSdkVersion 27
  17. versionCode 7
  18. versionName "1.0.7"
  19. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled false
  24. signingConfig signingConfigs.release
  25. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  26. }
  27. }
  28. packagingOptions {
  29. exclude "lib/arm64-v8a/librealm-jni.so"
  30. exclude "lib/mips/librealm-jni.so"
  31. exclude "lib/x86/librealm-jni.so"
  32. exclude "lib/x86_64/librealm-jni.so"
  33. }
  34. defaultConfig {
  35. ndk {
  36. abiFilters "armeabi", 'armeabi-v7a'
  37. }
  38. }
  39. }
  40. dependencies {
  41. implementation fileTree(include: ['*.jar'], dir: 'libs')
  42. implementation 'com.android.support:appcompat-v7:27.1.1'
  43. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  44. testImplementation 'junit:junit:4.12'
  45. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  46. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  47. /*图片选择*/
  48. compile 'me.iwf.photopicker:PhotoPicker:0.9.12@aar'
  49. compile 'com.android.support:recyclerview-v7:27.1.1'
  50. compile 'com.github.bumptech.glide:glide:4.1.1'
  51. implementation 'com.squareup.okhttp3:okhttp:3.11.0'
  52. compile 'com.alibaba:fastjson:1.2.51'
  53. // Rx Java
  54. implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
  55. implementation 'io.reactivex.rxjava2:rxjava:2.2.0'
  56. implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
  57. implementation 'com.android.support:cardview-v7:27.1.1'
  58. implementation project(':library')
  59. /*圆形头像*/
  60. implementation 'de.hdodenhof:circleimageview:2.2.0'
  61. /*字体对齐*/
  62. /*compile 'me.codeboy.android:align-text-view:2.3.2'*/
  63. /*compile 'me.biubiubiu.justifytext:library:1.1'*/
  64. /*换肤*/
  65. implementation project(':android-skin-loader-lib')
  66. // 图片点击可以放大缩小
  67. compile 'com.github.chrisbanes:PhotoView:1.2.6'
  68. compile 'com.github.liuguangqiang.swipeback:library:1.0.2@aar'
  69. compile 'com.umeng.sdk:common:1.5.0'
  70. compile 'com.umeng.sdk:analytics:7.5.0'
  71. }