build.gradle 1.5 KB

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