build.gradle 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.neenbedankt.android-apt'
  3. apply plugin: 'me.tatarka.retrolambda'
  4. android {
  5. compileSdkVersion 23
  6. buildToolsVersion "23.0.1"
  7. publishNonDefault true
  8. defaultConfig {
  9. applicationId "eu.kanade.mangafeed"
  10. minSdkVersion 16
  11. targetSdkVersion 23
  12. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  13. versionCode 1
  14. versionName "1.0"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. packagingOptions {
  23. exclude 'META-INF/DEPENDENCIES'
  24. exclude 'LICENSE.txt'
  25. exclude 'META-INF/LICENSE'
  26. exclude 'META-INF/LICENSE.txt'
  27. exclude 'META-INF/NOTICE'
  28. }
  29. lintOptions {
  30. abortOnError false
  31. }
  32. }
  33. dependencies {
  34. final SUPPORT_LIBRARY_VERSION = '23.0.1'
  35. final DAGGER_VERSION = '2.0.1'
  36. final HAMCREST_VERSION = '1.3'
  37. final MOCKITO_VERSION = '1.10.19'
  38. compile fileTree(dir: 'libs', include: ['*.jar'])
  39. compile "com.android.support:support-v4:$SUPPORT_LIBRARY_VERSION"
  40. compile "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"
  41. compile "com.android.support:cardview-v7:$SUPPORT_LIBRARY_VERSION"
  42. compile "com.android.support:design:$SUPPORT_LIBRARY_VERSION"
  43. compile "com.android.support:recyclerview-v7:$SUPPORT_LIBRARY_VERSION"
  44. compile "com.android.support:support-annotations:$SUPPORT_LIBRARY_VERSION"
  45. compile 'com.squareup.retrofit:adapter-rxjava:2.0.0-beta1'
  46. compile 'com.squareup.okhttp:okhttp-urlconnection:2.4.0'
  47. compile 'com.squareup.okhttp:okhttp:2.4.0'
  48. compile 'com.pushtorefresh.storio:sqlite:1.4.0'
  49. compile 'com.pushtorefresh.storio:sqlite-annotations:1.4.0'
  50. compile 'de.greenrobot:eventbus:2.4.0'
  51. compile 'com.github.bumptech.glide:glide:3.6.1'
  52. compile 'de.hdodenhof:circleimageview:1.3.0'
  53. compile 'io.reactivex:rxandroid:1.0.1'
  54. compile 'com.jakewharton:butterknife:7.0.1'
  55. compile 'com.jakewharton.timber:timber:3.1.0'
  56. compile 'uk.co.ribot:easyadapter:1.5.0@aar'
  57. compile "com.google.dagger:dagger:$DAGGER_VERSION"
  58. apt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
  59. provided 'org.glassfish:javax.annotation:10.0-b28'
  60. compile('com.mikepenz:materialdrawer:4.3.0@aar') {
  61. transitive = true
  62. }
  63. testCompile 'junit:junit:4.12'
  64. testCompile "org.hamcrest:hamcrest-core:$HAMCREST_VERSION"
  65. testCompile "org.hamcrest:hamcrest-library:$HAMCREST_VERSION"
  66. testCompile "org.hamcrest:hamcrest-integration:$HAMCREST_VERSION"
  67. testCompile "org.mockito:mockito-core:$MOCKITO_VERSION"
  68. testCompile('org.robolectric:robolectric:3.0') {
  69. exclude group: 'commons-logging', module: 'commons-logging'
  70. exclude group: 'org.apache.httpcomponents', module: 'httpclient'
  71. }
  72. androidTestApt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
  73. }