build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion ANDROID_COMPILE_SDK_VERSION as int
  4. buildToolsVersion ANDROID_BUILD_TOOLS_VERSION
  5. defaultConfig {
  6. minSdkVersion ANDROID_MIN_SDK_VERSION as int
  7. targetSdkVersion ANDORID_TARGET_SDK_VERSION as int
  8. versionCode VERSION_CODE as int
  9. versionName VERSION_NAME
  10. }
  11. lintOptions {
  12. abortOnError false
  13. }
  14. dexOptions {
  15. preDexLibraries = false
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. buildToolsVersion ANDROID_BUILD_TOOLS_VERSION
  24. compileOptions {
  25. sourceCompatibility JavaVersion.VERSION_1_8
  26. targetCompatibility JavaVersion.VERSION_1_8
  27. }
  28. }
  29. dependencies {
  30. compileOnly "com.android.support:appcompat-v7:$supportLibVersion"
  31. compileOnly "com.android.support:recyclerview-v7:$supportLibVersion"
  32. compileOnly 'com.github.bumptech.glide:glide:4.1.1'
  33. api "com.android.support:exifinterface:$supportLibVersion"
  34. api project(':ucrop')
  35. compileOnly 'io.reactivex.rxjava2:rxandroid:2.1.0'
  36. compileOnly 'io.reactivex.rxjava2:rxjava:2.2.3'
  37. }