config.gradle 1.6 KB

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