build.gradle 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 26
  4. buildToolsVersion '26.0.2'
  5. defaultConfig {
  6. applicationId "com.sheep.jiuyan.samllsheep"
  7. minSdkVersion 18
  8. targetSdkVersion 26
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. signingConfigs {
  14. config {
  15. keyAlias 'sheep'
  16. keyPassword 'zhaoyi2004'
  17. storeFile file('./sign.jks')
  18. storePassword 'zhaoyi2004'
  19. }
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled false
  24. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  25. signingConfig signingConfigs.config
  26. }
  27. debug {
  28. signingConfig signingConfigs.config
  29. }
  30. }
  31. }
  32. repositories {
  33. flatDir {
  34. dirs 'libs'
  35. }
  36. }
  37. dependencies {
  38. // compile fileTree(include: ['*.jar'], dir: 'libs')
  39. // androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  40. // exclude group: 'com.android.support', module: 'support-annotations'
  41. // })
  42. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  43. testCompile 'junit:junit:4.12'
  44. // compile 'com.shark:screencapture:1.0.0'
  45. compile 'com.google.code.gson:gson:2.7'
  46. compile 'com.jcodecraeer:xrecyclerview:1.5.2'
  47. compile 'com.github.bumptech.glide:glide:3.7.0'
  48. compile 'com.squareup.okhttp3:okhttp:3.9.1'
  49. compile 'org.greenrobot:eventbus:3.1.1'
  50. compile 'com.zhy:base-adapter:3.0.3'
  51. compile 'com.liulishuo.filedownloader:library:1.6.9'
  52. compile 'com.tencent.bugly:crashreport_upgrade:latest.release'
  53. compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'
  54. compile(name: 'utils', ext: 'aar')
  55. debugCompile 'com.readystatesoftware.chuck:library:1.1.0'
  56. compile 'de.hdodenhof:circleimageview:2.2.0'
  57. releaseCompile 'com.readystatesoftware.chuck:library-no-op:1.1.0'
  58. compile 'org.xutils:xutils:3.5.0'
  59. compile 'com.mylhyl:acp:1.1.7'
  60. compile 'cn.yipianfengye.android:zxing-library:2.2'
  61. }