build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion rootProject.ext.compileSdkVersion
  4. defaultConfig {
  5. minSdkVersion rootProject.ext.minSdkVersion
  6. targetSdkVersion rootProject.ext.targetSdkVersion
  7. versionCode 1
  8. versionName "1.0"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  14. }
  15. }
  16. }
  17. dependencies {
  18. implementation fileTree(include: ['*.jar'], dir: 'libs')
  19. implementation project(':lib_ucrop')
  20. //noinspection GradleCompatible
  21. implementation "com.android.support:appcompat-v7:$rootProject.supportVersion"
  22. //noinspection GradleCompatible
  23. implementation "com.android.support:recyclerview-v7:$rootProject.supportVersion"
  24. // implementation "com.github.bumptech.glide:glide:4.5.0"
  25. implementation "io.reactivex.rxjava2:rxjava:$rootProject.retrofitRxJavaVersion"
  26. implementation "io.reactivex.rxjava2:rxandroid:$rootProject.rxAndroidVersion"
  27. }