build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. compileSdkVersion = 34
  5. applicationId = "com.atmob.vioceai"
  6. minSdkVersion = 21
  7. targetSdkVersion = 32
  8. versionCode = 1
  9. versionName = "1.0.0"
  10. hilt_version = '2.41'
  11. lifecycle_version = "2.6.1"
  12. gson_version = "2.10"
  13. glide_version = "4.15.1"
  14. mmkv_version = "1.3.0"
  15. lottie_version = "6.0.0"
  16. appcompat_version = "1.6.1"
  17. material_version = "1.9.0"
  18. protobuf_version = "3.18.1"
  19. eventbus_version = "3.3.1"
  20. immersionbar_version = "3.0.0"
  21. room_version = "2.5.1"
  22. swiperefreshlayout_version = "1.1.0"
  23. bugly_version = "4.1.9.3"
  24. lottie_version = "6.0.0"
  25. recyclerview_version = "1.3.0"
  26. constraintlayout_version = "2.1.4"
  27. stringfog_version = "4.0.1"
  28. media3_version = "1.3.1"
  29. }
  30. dependencies {
  31. classpath 'com.android.tools.build:gradle:7.1.3'
  32. classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
  33. classpath "com.umeng.umsdk:apm-plugin:0.0.1"
  34. classpath 'com.github.megatronking.stringfog:gradle-plugin:4.0.1'
  35. classpath 'com.github.megatronking.stringfog:xor:4.0.1'
  36. }
  37. configurations.configureEach {
  38. resolutionStrategy {
  39. // don't cache changing modules at all
  40. cacheChangingModulesFor 10, 'seconds'
  41. }
  42. }
  43. }
  44. plugins {
  45. id 'com.android.application' version '7.1.3' apply false
  46. id 'com.android.library' version '7.1.3' apply false
  47. }
  48. tasks.register('clean', Delete) {
  49. delete rootProject.buildDir
  50. }