build.gradle 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'com.example.myapplication'
  7. compileSdk 33
  8. defaultConfig {
  9. applicationId "com.example.myapplication"
  10. minSdk 26
  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. enabled = 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.4.1'
  39. implementation 'com.google.android.material:material:1.5.0'
  40. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  41. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  42. implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
  43. implementation 'com.squareup.picasso:picasso:2.8'
  44. implementation 'com.github.siyamed:android-shape-imageview:0.9.3'
  45. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  46. implementation 'androidx.recyclerview:recyclerview:1.3.0'
  47. testImplementation 'junit:junit:4.13.2'
  48. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  49. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  50. implementation 'io.github.chaosleung:pinview:1.4.4'
  51. }