build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. }
  12. signingConfigs {
  13. myconfig {
  14. keyAlias 'shitunet'
  15. keyPassword 'key_shitu'
  16. storePassword 'key_shitu'
  17. storeFile file('src\\main\\doc\\shitunet.jks')
  18. }
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled false
  23. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  24. signingConfig signingConfigs.myconfig
  25. }
  26. debug {
  27. debuggable true
  28. minifyEnabled false
  29. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  30. signingConfig signingConfigs.myconfig
  31. }
  32. }
  33. }
  34. dependencies {
  35. compile fileTree(dir: 'libs', include: ['*.jar'])
  36. compile project(':library')
  37. compile 'com.android.support:design:26.1.0'
  38. compile 'com.jakewharton:butterknife:7.0.1'
  39. compile 'com.github.bumptech.glide:glide:3.7.0'
  40. compile 'com.muddzdev:styleabletoast:2.0.1'
  41. compile 'org.greenrobot:eventbus:3.1.1'
  42. //导航
  43. compile 'com.amap.api:navi-3dmap:5.6.0_3dmap5.7.0'
  44. //定位
  45. compile 'com.amap.api:location:3.8.0'
  46. }