build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. }
  13. apply plugin: 'com.android.library'
  14. apply plugin: 'me.tatarka.retrolambda'
  15. android {
  16. compileSdkVersion 25
  17. buildToolsVersion "25.0.0"
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_8
  20. targetCompatibility JavaVersion.VERSION_1_8
  21. }
  22. defaultConfig {
  23. minSdkVersion 15
  24. targetSdkVersion 25
  25. versionCode 1
  26. versionName "1.0"
  27. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  28. }
  29. buildTypes {
  30. release {
  31. minifyEnabled false
  32. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  33. }
  34. }
  35. }
  36. dependencies {
  37. compile fileTree(dir: 'libs', include: ['*.jar'])
  38. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  39. exclude group: 'com.android.support', module: 'support-annotations'
  40. })
  41. compile 'com.android.support:appcompat-v7:25.0.0'
  42. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  43. compile 'com.afollestad.material-dialogs:core:0.9.1.0'
  44. testCompile 'junit:junit:4.12'
  45. }