build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. }
  25. dependencies {
  26. compileOnly "com.android.support:appcompat-v7:$supportLibVersion"
  27. compileOnly "com.android.support:recyclerview-v7:$supportLibVersion"
  28. compileOnly ('com.github.bumptech.glide:glide:4.1.1')
  29. api "com.android.support:exifinterface:$supportLibVersion"
  30. api project(':ucrop')
  31. compileOnly 'io.reactivex.rxjava2:rxandroid:2.1.0'
  32. compileOnly 'io.reactivex.rxjava2:rxjava:2.2.3'
  33. }