build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdk 32
  6. defaultConfig {
  7. applicationId "com.example.books"
  8. minSdk 21
  9. targetSdk 32
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. }
  25. dependencies {
  26. implementation 'androidx.appcompat:appcompat:1.5.1'
  27. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  28. implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
  29. implementation 'com.google.android.material:material:1.7.0'
  30. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  31. testImplementation 'junit:junit:4.13.2'
  32. androidTestImplementation 'androidx.test.ext:junit:1.1.4'
  33. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
  34. }