build.gradle 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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_verstion = "4.0.1"
  28. }
  29. dependencies {
  30. classpath 'com.android.tools.build:gradle:7.1.3'
  31. classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
  32. classpath "com.umeng.umsdk:apm-plugin:0.0.1"
  33. classpath 'com.github.megatronking.stringfog:gradle-plugin:4.0.1'
  34. classpath 'com.github.megatronking.stringfog:xor:4.0.1'
  35. }
  36. configurations.configureEach {
  37. resolutionStrategy {
  38. // don't cache changing modules at all
  39. cacheChangingModulesFor 10, 'seconds'
  40. }
  41. }
  42. }
  43. plugins {
  44. id 'com.android.application' version '7.1.3' apply false
  45. id 'com.android.library' version '7.1.3' apply false
  46. }
  47. tasks.register('clean', Delete) {
  48. delete rootProject.buildDir
  49. }