config.gradle 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ext {
  2. module = [
  3. remoteLib : false,
  4. minifyEnabled : false,
  5. publish : false,
  6. channelModule : 'channel_oppo',
  7. coreModuleLanguage: 1
  8. ]
  9. android = [
  10. compileSdk : 31,
  11. buildToolsVersion: '31.0.0',
  12. minSdk : 21,
  13. targetSdk : 31,
  14. ndkVersion : '21.4.7075529'
  15. ]
  16. ktx = [
  17. stdlib : "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version",
  18. coroutines: "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version",
  19. core : "androidx.core:core-ktx:1.7.0",
  20. ]
  21. ui = [
  22. appcompat : "androidx.appcompat:appcompat:1.4.0",
  23. material : "com.google.android.material:material:1.4.0",
  24. constraintlayout : "androidx.constraintlayout:constraintlayout:2.1.0",
  25. swiperefreshlayout: "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0",
  26. recyclerview : "androidx.recyclerview:recyclerview:1.2.1",
  27. cardview : "androidx.cardview:cardview:1.0.0"
  28. ]
  29. jetpack = [
  30. viewmodel: "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0",
  31. livedata : "androidx.lifecycle:lifecycle-livedata-ktx:2.4.0",
  32. extension: "androidx.lifecycle:lifecycle-extensions:2.2.0",
  33. activity : "androidx.activity:activity-ktx:1.4.0",
  34. fragment : "androidx.fragment:fragment-ktx:1.4.0"
  35. ]
  36. ktxLibs = ktx.values()
  37. jetpackLibs = jetpack.values()
  38. uiLibs = ui.values()
  39. }