build.gradle 1.1 KB

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