build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. apply plugin: 'com.android.library'
  2. buildscript {
  3. repositories {
  4. mavenCentral()
  5. }
  6. }
  7. repositories {
  8. mavenCentral()
  9. maven { url 'https://maven.google.com' }
  10. }
  11. apply plugin: 'com.android.library'
  12. android {
  13. compileSdkVersion 25
  14. buildToolsVersion rootProject.ext.buildToolsVersion
  15. compileOptions {
  16. sourceCompatibility JavaVersion.VERSION_1_8
  17. targetCompatibility JavaVersion.VERSION_1_8
  18. }
  19. defaultConfig {
  20. minSdkVersion 15
  21. targetSdkVersion 25
  22. versionCode 1
  23. versionName "1.0"
  24. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  25. }
  26. buildTypes {
  27. release {
  28. minifyEnabled false
  29. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  30. }
  31. }
  32. }
  33. dependencies {
  34. compile fileTree(dir: 'libs', include: ['*.jar'])
  35. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  36. exclude group: 'com.android.support', module: 'support-annotations'
  37. })
  38. compile 'com.android.support:appcompat-v7:25.0.0'
  39. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  40. compile 'com.afollestad.material-dialogs:core:0.9.1.0'
  41. testCompile 'junit:junit:4.12'
  42. //glide
  43. compile 'com.github.bumptech.glide:glide:3.7.0'
  44. annotationProcessor 'com.github.bumptech.glide:compiler:4.1.1'
  45. }