build.gradle 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 34
  12. versionCode 1
  13. versionName "1.0"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. kotlinOptions {
  27. jvmTarget = '1.8'
  28. }
  29. buildFeatures {
  30. viewBinding = true
  31. }
  32. }
  33. dependencies {
  34. implementation 'androidx.core:core-ktx:1.8.0'
  35. implementation 'androidx.appcompat:appcompat:1.4.1'
  36. implementation 'com.google.android.material:material:1.5.0'
  37. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  38. implementation 'androidx.core:core-ktx:+'
  39. testImplementation 'junit:junit:4.13.2'
  40. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  41. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  42. implementation 'com.github.bumptech.glide:glide:4.15.0'
  43. implementation 'com.makeramen:roundedimageview:2.3.0'
  44. implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
  45. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  46. implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
  47. implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0'
  48. implementation 'androidx.navigation:navigation-fragment-ktx:2.3.3'
  49. implementation 'androidx.navigation:navigation-ui-ktx:2.3.3'
  50. implementation 'com.squareup.picasso:picasso:2.8'
  51. implementation 'com.github.bumptech.glide:glide:4.15.0'
  52. }