build.gradle 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. final STORIO_VERSION = '1.4.0'
  39. compile fileTree(dir: 'libs', include: ['*.jar'])
  40. compile "com.android.support:support-v4:$SUPPORT_LIBRARY_VERSION"
  41. compile "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"
  42. compile "com.android.support:cardview-v7:$SUPPORT_LIBRARY_VERSION"
  43. compile "com.android.support:design:$SUPPORT_LIBRARY_VERSION"
  44. compile "com.android.support:recyclerview-v7:$SUPPORT_LIBRARY_VERSION"
  45. compile "com.android.support:support-annotations:$SUPPORT_LIBRARY_VERSION"
  46. compile 'com.squareup.retrofit:adapter-rxjava:2.0.0-beta1'
  47. compile 'com.squareup.okhttp:okhttp-urlconnection:2.4.0'
  48. compile 'com.squareup.okhttp:okhttp:2.4.0'
  49. compile "com.pushtorefresh.storio:sqlite:$STORIO_VERSION"
  50. compile "com.pushtorefresh.storio:sqlite-annotations:$STORIO_VERSION"
  51. compile 'de.greenrobot:eventbus:2.4.0'
  52. compile 'com.github.bumptech.glide:glide:3.6.1'
  53. compile 'de.hdodenhof:circleimageview:1.3.0'
  54. compile 'io.reactivex:rxandroid:1.0.1'
  55. compile 'com.jakewharton:butterknife:7.0.1'
  56. compile 'com.jakewharton.timber:timber:3.1.0'
  57. compile 'uk.co.ribot:easyadapter:1.5.0@aar'
  58. compile "com.google.dagger:dagger:$DAGGER_VERSION"
  59. apt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
  60. apt "com.pushtorefresh.storio:sqlite-annotations-processor:$STORIO_VERSION"
  61. provided 'org.glassfish:javax.annotation:10.0-b28'
  62. compile('com.mikepenz:materialdrawer:4.3.0@aar') {
  63. transitive = true
  64. }
  65. testCompile 'junit:junit:4.12'
  66. testCompile "org.hamcrest:hamcrest-core:$HAMCREST_VERSION"
  67. testCompile "org.hamcrest:hamcrest-library:$HAMCREST_VERSION"
  68. testCompile "org.hamcrest:hamcrest-integration:$HAMCREST_VERSION"
  69. testCompile "org.mockito:mockito-core:$MOCKITO_VERSION"
  70. testCompile('org.robolectric:robolectric:3.0') {
  71. exclude group: 'commons-logging', module: 'commons-logging'
  72. exclude group: 'org.apache.httpcomponents', module: 'httpclient'
  73. }
  74. androidTestApt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
  75. }