build.gradle 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. // compileOptions {
  39. // sourceCompatibility JavaVersion.VERSION_1_8
  40. // targetCompatibility JavaVersion.VERSION_1_8
  41. // }
  42. }
  43. dependencies {
  44. implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: [])
  45. implementation "com.android.support:support-v4:28.0.0"
  46. implementation "com.android.support:appcompat-v7:28.0.0"
  47. implementation 'com.android.support:recyclerview-v7:28.0.0'
  48. implementation 'com.facebook.fresco:fresco:1.13.0'
  49. implementation "com.facebook.fresco:animated-gif:1.13.0"
  50. implementation 'com.github.bumptech.glide:glide:4.9.0'
  51. implementation 'com.alibaba:fastjson:1.1.46.android'
  52. }