build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. incremental true
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. buildToolsVersion ANDROID_BUILD_TOOLS_VERSION
  25. }
  26. dependencies {
  27. compile 'com.android.support:appcompat-v7:27.1.0'
  28. compile 'com.android.support:support-v4:27.1.0'
  29. // compile 'com.github.bumptech.glide:glide:3.7.0'
  30. compile ('jp.wasabeef:glide-transformations:2.0.2'){
  31. exclude group: 'com.github.bumptech.glide', module: 'glide'
  32. }
  33. // compile project(':sheep')
  34. }