build.gradle 1.2 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. 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 fileTree(include: ['*.jar'], dir: 'libs')
  28. compile 'com.android.support:appcompat-v7:23.4.0'
  29. compile 'com.android.support:support-v4:23.4.0'
  30. testCompile 'junit:junit:4.12'
  31. compile 'com.github.bumptech.glide:glide:3.5.2'
  32. compile 'jp.wasabeef:glide-transformations:2.0.2'
  33. compile 'com.nineoldandroids:library:2.4.0'
  34. compile 'cn.bingoogolapple:bga-banner:2.1.7@aar'
  35. // compile project(':sheep')
  36. }