build.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. //导航
  42. compile 'com.amap.api:navi-3dmap:5.6.0_3dmap5.7.0'
  43. //定位
  44. compile 'com.amap.api:location:3.8.0'
  45. }