build.gradle 1.7 KB

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