build.gradle 911 B

1234567891011121314151617181920212223242526272829303132
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "30.0.3"
  5. defaultConfig {
  6. minSdkVersion 15
  7. targetSdkVersion 30
  8. versionCode 1001
  9. versionName "4.1"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. }
  18. dependencies {
  19. api fileTree(dir: 'libs', include: ['*.jar'])
  20. api project(path: ':faceplatform-release')
  21. api 'com.squareup.retrofit2:retrofit:2.6.2'
  22. // implementation 'com.squareup.retrofit2:converter-gson:2.6.2'
  23. // implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.0'
  24. // implementation 'com.squareup.retrofit2:converter-scalars:2.0.0'
  25. //导入scalars包
  26. //rxjava2
  27. api 'io.reactivex.rxjava2:rxjava:2.2.15'
  28. api 'io.reactivex.rxjava2:rxandroid:2.1.1'
  29. }