build.gradle 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 26
  4. defaultConfig {
  5. applicationId "com.ynstkz.shitu.android"
  6. minSdkVersion 16
  7. targetSdkVersion 26
  8. versionCode 1
  9. versionName "1.0"
  10. javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } }
  11. ndk {
  12. abiFilters 'armeabi-v7a','x86'//, 'armeabi-v7a', 'x86_64', 'arm64-v8a', mips, mips64...加入需要生成的文件夹
  13. }
  14. }
  15. signingConfigs {
  16. myconfig {
  17. keyAlias 'shitunet'
  18. keyPassword 'key_shitu'
  19. storePassword 'key_shitu'
  20. storeFile file('src\\main\\doc\\shitunet.jks')
  21. }
  22. }
  23. buildTypes {
  24. release {
  25. minifyEnabled false
  26. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  27. signingConfig signingConfigs.myconfig
  28. }
  29. debug {
  30. debuggable true
  31. minifyEnabled false
  32. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  33. signingConfig signingConfigs.myconfig
  34. }
  35. }
  36. }
  37. dependencies {
  38. compile fileTree(dir: 'libs', include: ['*.jar'])
  39. compile project(':library')
  40. //noinspection GradleCompatible
  41. compile 'com.android.support:design:26.1.0'
  42. compile 'com.jakewharton:butterknife:7.0.1'
  43. compile 'com.github.bumptech.glide:glide:3.7.0'
  44. compile 'com.muddzdev:styleabletoast:2.0.1'
  45. compile 'org.greenrobot:eventbus:3.1.1'
  46. compile 'me.zhanghai.android.materialratingbar:library:1.2.0'
  47. compile 'com.github.vipulasri:timelineview:1.0.6'
  48. //导航
  49. compile 'com.amap.api:navi-3dmap:5.6.0_3dmap5.7.0'
  50. //定位
  51. compile 'com.amap.api:location:3.8.0'
  52. //搜索
  53. compile 'com.amap.api:search:latest.integration'
  54. //友盟SDK
  55. compile 'com.umeng.analytics:analytics:latest.integration'
  56. }