build.gradle 965 B

12345678910111213141516171819202122232425262728293031323334353637
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdk 31
  6. defaultConfig {
  7. minSdk 21
  8. targetSdk 30
  9. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  10. consumerProguardFiles "consumer-rules.pro"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_8
  20. targetCompatibility JavaVersion.VERSION_1_8
  21. }
  22. }
  23. dependencies {
  24. // Networking libraries (Retrofit)
  25. implementation "com.squareup.retrofit2:retrofit:2.9.0"
  26. implementation "com.squareup.retrofit2:converter-moshi:2.9.0"
  27. implementation "com.squareup.moshi:moshi-kotlin:1.13.0"
  28. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  29. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  30. }