build.gradle 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'com.example.testproject'
  7. compileSdk 33
  8. defaultConfig {
  9. applicationId "com.example.testproject"
  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. 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. viewBinding{
  30. enable = true
  31. }
  32. buildFeatures {
  33. viewBinding true
  34. }
  35. }
  36. dependencies {
  37. implementation 'androidx.core:core-ktx:1.8.0'
  38. implementation 'androidx.appcompat:appcompat:1.6.1'
  39. implementation 'com.google.android.material:material:1.5.0'
  40. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  41. implementation 'com.github.siyamed:android-shape-imageview:0.9.3'
  42. testImplementation 'junit:junit:4.13.2'
  43. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  44. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  45. implementation 'io.github.chaosleung:pinview:1.4.4'
  46. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  47. implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
  48. //Для сериализации JSONP в JSON
  49. implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
  50. //OkHttp — библиотека и по совместительству HTTP‑клиент
  51. implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0'
  52. //Для закругления ImageView
  53. implementation 'com.makeramen:roundedimageview:2.3.0'
  54. }