build.gradle.kts 1.9 KB

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