build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. compile 'com.android.support:appcompat-v7:27.1.0'
  27. compile 'com.android.support:support-v4:27.1.0'
  28. // compile 'com.github.bumptech.glide:glide:3.7.0'
  29. compile ('jp.wasabeef:glide-transformations:2.0.2'){
  30. exclude group: 'com.github.bumptech.glide', module: 'glide'
  31. }
  32. // compile project(':sheep')
  33. }