build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. compileSdkVersion = 33
  5. applicationId = "com.shuiyin.xingmeng"
  6. minSdkVersion = 21
  7. targetSdkVersion = 31
  8. versionCode = 312
  9. versionName = "3.1.2"
  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. }
  35. configurations.configureEach {
  36. resolutionStrategy {
  37. // don't cache changing modules at all
  38. cacheChangingModulesFor 10, 'seconds'
  39. }
  40. }
  41. }
  42. plugins {
  43. id 'com.android.application' version '7.1.3' apply false
  44. id 'com.android.library' version '7.1.3' apply false
  45. }
  46. tasks.register('clean', Delete) {
  47. delete rootProject.buildDir
  48. }