build.gradle.kts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. plugins {
  2. id("com.android.application")
  3. id("org.jetbrains.kotlin.android")
  4. }
  5. android {
  6. namespace = "com.example.smartlab"
  7. compileSdk = 34
  8. defaultConfig {
  9. applicationId = "com.example.smartlab"
  10. minSdk = 24
  11. targetSdk = 33
  12. versionCode = 1
  13. versionName = "1.0"
  14. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. isMinifyEnabled = false
  19. proguardFiles(
  20. getDefaultProguardFile("proguard-android-optimize.txt"),
  21. "proguard-rules.pro"
  22. )
  23. }
  24. }
  25. compileOptions {
  26. sourceCompatibility = JavaVersion.VERSION_1_8
  27. targetCompatibility = JavaVersion.VERSION_1_8
  28. }
  29. kotlinOptions {
  30. jvmTarget = "1.8"
  31. }
  32. buildFeatures {
  33. viewBinding = true
  34. }
  35. }
  36. dependencies {
  37. implementation("androidx.core:core-ktx:1.9.0")
  38. implementation("androidx.appcompat:appcompat:1.6.1")
  39. implementation("com.google.android.material:material:1.10.0")
  40. implementation("androidx.constraintlayout:constraintlayout:2.1.4")
  41. implementation("androidx.legacy:legacy-support-v4:1.0.0")
  42. implementation("androidx.recyclerview:recyclerview:1.3.0")
  43. testImplementation("junit:junit:4.13.2")
  44. androidTestImplementation("androidx.test.ext:junit:1.1.5")
  45. androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
  46. implementation ("com.github.bumptech.glide:glide:4.15.0")
  47. implementation ("com.makeramen:roundedimageview:2.3.0")
  48. implementation ("com.squareup.retrofit2:converter-gson:2.5.0")
  49. implementation ("com.squareup.retrofit2:retrofit:2.9.0")
  50. implementation ("com.squareup.retrofit2:converter-scalars:2.1.0")
  51. implementation ("com.squareup.okhttp3:logging-interceptor:4.10.0")
  52. implementation ("androidx.navigation:navigation-fragment-ktx:2.3.3")
  53. implementation ("androidx.compose.material:material:1.4.2")
  54. }