build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. defaultConfig {
  5. applicationId "com.parking.inspection"
  6. minSdkVersion 21
  7. targetSdkVersion 28
  8. versionCode 1
  9. versionName "1.0"
  10. multiDexEnabled true
  11. }
  12. signingConfigs {
  13. config {
  14. keyAlias 'parkingpad'
  15. keyPassword 'parking'
  16. storeFile file('keys/parkingkey.jks')
  17. storePassword 'parking'
  18. v1SigningEnabled true
  19. v2SigningEnabled true
  20. }
  21. }
  22. buildTypes {
  23. debug {
  24. signingConfig signingConfigs.config
  25. minifyEnabled false
  26. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  27. }
  28. release {
  29. signingConfig signingConfigs.config
  30. minifyEnabled false
  31. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  32. }
  33. }
  34. aaptOptions {
  35. additionalParameters '--auto-add-overlay'
  36. ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"
  37. }
  38. }
  39. dependencies {
  40. implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: [])
  41. implementation "com.android.support:support-v4:28.0.0"
  42. implementation "com.android.support:appcompat-v7:28.0.0"
  43. implementation 'com.android.support:recyclerview-v7:28.0.0'
  44. implementation 'com.facebook.fresco:fresco:1.13.0'
  45. implementation "com.facebook.fresco:animated-gif:1.13.0"
  46. implementation 'com.github.bumptech.glide:glide:4.9.0'
  47. implementation 'com.alibaba:fastjson:1.1.46.android'
  48. }