build.gradle 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.jakewharton.butterknife'
  3. android {
  4. compileSdkVersion 27
  5. buildToolsVersion '27.0.2'
  6. defaultConfig {
  7. applicationId "com.sheep.jiuyan.samllsheep"
  8. minSdkVersion 18
  9. targetSdkVersion 27
  10. versionCode 101001
  11. versionName "1.1.1"
  12. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  13. ndk {
  14. abiFilters 'armeabi' , 'x86'//, 'armeabi-v7a', 'x86_64', 'arm64-v8a'
  15. }
  16. jackOptions {
  17. enabled true
  18. }
  19. }
  20. compileOptions{
  21. sourceCompatibility org.gradle.api.JavaVersion.VERSION_1_8
  22. targetCompatibility org.gradle.api.JavaVersion.VERSION_1_8
  23. }
  24. signingConfigs {
  25. config {
  26. keyAlias 'sheep'
  27. keyPassword 'zhaoyi2004'
  28. storeFile file('.././sign.jks')
  29. storePassword 'zhaoyi2004'
  30. }
  31. }
  32. buildTypes {
  33. release {
  34. minifyEnabled false
  35. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  36. signingConfig signingConfigs.config
  37. }
  38. debug {
  39. signingConfig signingConfigs.config
  40. }
  41. }
  42. }
  43. repositories {
  44. flatDir {
  45. dirs 'libs'
  46. }
  47. google()
  48. }
  49. dependencies {
  50. // compile fileTree(include: ['*.jar'], dir: 'libs')
  51. // androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  52. // exclude group: 'com.android.support', module: 'support-annotations'
  53. // })
  54. compile 'com.android.support:appcompat-v7:27.0.2'
  55. compile 'com.android.support:support-v4:27.0.2'
  56. compile 'com.android.support:design:27.0.2'
  57. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  58. testCompile 'junit:junit:4.12'
  59. // compile 'com.shark:screencapture:1.0.0'
  60. compile 'com.google.code.gson:gson:2.7'
  61. compile 'com.jcodecraeer:xrecyclerview:1.5.2'
  62. compile 'com.github.bumptech.glide:glide:3.7.0'
  63. compile 'com.squareup.okhttp3:okhttp:3.9.1'
  64. compile 'org.greenrobot:eventbus:3.1.1'
  65. compile 'com.zhy:base-adapter:3.0.3'
  66. compile 'com.liulishuo.filedownloader:library:1.6.9'
  67. compile 'com.tencent.bugly:crashreport_upgrade:latest.release'//其中latest.release指代最新版本号,也可以指定明确的版本号,例如1.2.0
  68. compile 'com.tencent.bugly:nativecrashreport:latest.release' //其中latest.release指代最
  69. compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'
  70. compile(name: 'utils', ext: 'aar')
  71. debugCompile 'com.readystatesoftware.chuck:library:1.1.0'
  72. compile 'de.hdodenhof:circleimageview:2.2.0'
  73. releaseCompile 'com.readystatesoftware.chuck:library-no-op:1.1.0'
  74. compile 'org.xutils:xutils:3.5.0'
  75. compile 'com.mylhyl:acp:1.1.7'
  76. compile 'cn.yipianfengye.android:zxing-library:2.2'
  77. compile 'com.github.huburt-Hu:NewbieGuide:v1.2.0'
  78. //butterknife
  79. compile 'com.jakewharton:butterknife:+'
  80. annotationProcessor 'com.jakewharton:butterknife-compiler:+'
  81. //dragger2
  82. // compile 'com.google.dagger:dagger:+'
  83. // compile 'com.google.dagger:dagger-compiler:+'
  84. provided 'org.glassfish:javax.annotation:+'
  85. compile 'com.google.dagger:dagger:2.12'
  86. annotationProcessor 'com.google.dagger:dagger-compiler:2.12'
  87. //retrofit
  88. compile 'com.squareup.retrofit2:retrofit:+'
  89. compile 'com.squareup.retrofit2:converter-gson:+'
  90. compile 'com.squareup.okhttp3:logging-interceptor:+'
  91. // compile 'com.squareup.retrofit2:adapter-rxjava2:+'
  92. compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
  93. //rxjava
  94. compile 'io.reactivex.rxjava2:rxandroid:+'
  95. compile 'io.reactivex.rxjava2:rxjava:+'
  96. //获取动态权限三方库
  97. compile 'pub.devrel:easypermissions:+'
  98. compile 'net.danlew:android.joda:2.9.3'
  99. compile 'com.orhanobut:logger:1.15'
  100. //友盟
  101. compile 'com.umeng.sdk:common:latest.integration'
  102. compile 'com.umeng.sdk:analytics:latest.integration'
  103. }