build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. compileSdk 32
  7. defaultConfig {
  8. applicationId "com.example.test"
  9. minSdk 28
  10. targetSdk 32
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. kotlinOptions {
  26. jvmTarget = '1.8'
  27. }
  28. buildFeatures {
  29. viewBinding true
  30. }
  31. }
  32. dependencies {
  33. implementation 'androidx.core:core-ktx:1.7.0'
  34. implementation 'androidx.appcompat:appcompat:1.4.1'
  35. implementation 'com.google.android.material:material:1.6.0'
  36. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  37. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  38. implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  39. implementation 'com.github.bumptech.glide:glide:4.13.2'
  40. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
  41. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
  42. implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2'
  43. implementation 'androidx.navigation:navigation-ui-ktx:2.4.2'
  44. testImplementation 'junit:junit:4.13.2'
  45. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  46. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  47. }