config.gradle 1.5 KB

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