build.gradle 741 B

1234567891011121314151617181920212223242526272829
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.3"
  5. defaultConfig {
  6. minSdkVersion 21
  7. targetSdkVersion 29
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. implementation fileTree(dir: 'libs', include: ['*.jar'])
  21. api 'com.squareup.retrofit2:retrofit:2.9.0'
  22. api 'com.squareup.retrofit2:converter-gson:2.9.0'
  23. api 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
  24. }