build.gradle 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. compileOptions {
  17. sourceCompatibility JavaVersion.VERSION_1_8
  18. targetCompatibility JavaVersion.VERSION_1_8
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled false
  23. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  24. }
  25. }
  26. packagingOptions {
  27. exclude 'META-INF/DEPENDENCIES'
  28. exclude 'LICENSE.txt'
  29. exclude 'META-INF/LICENSE'
  30. exclude 'META-INF/LICENSE.txt'
  31. exclude 'META-INF/NOTICE'
  32. }
  33. lintOptions {
  34. abortOnError false
  35. }
  36. }
  37. dependencies {
  38. final SUPPORT_LIBRARY_VERSION = '23.0.1'
  39. final DAGGER_VERSION = '2.0.1'
  40. final HAMCREST_VERSION = '1.3'
  41. final MOCKITO_VERSION = '1.10.19'
  42. final STORIO_VERSION = '1.4.0'
  43. final NUCLEUS_VERSION = '2.0.1'
  44. final ICEPICK_VERSION = '3.1.0'
  45. compile fileTree(dir: 'libs', include: ['*.jar'])
  46. compile "com.android.support:support-v4:$SUPPORT_LIBRARY_VERSION"
  47. compile "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"
  48. compile "com.android.support:cardview-v7:$SUPPORT_LIBRARY_VERSION"
  49. compile "com.android.support:design:$SUPPORT_LIBRARY_VERSION"
  50. compile "com.android.support:recyclerview-v7:$SUPPORT_LIBRARY_VERSION"
  51. compile "com.android.support:support-annotations:$SUPPORT_LIBRARY_VERSION"
  52. compile 'com.squareup.okhttp:okhttp-urlconnection:2.4.0'
  53. compile 'com.squareup.okhttp:okhttp:2.4.0'
  54. compile 'com.squareup.okio:okio:1.6.0'
  55. compile 'com.jakewharton:disklrucache:2.0.2'
  56. compile 'org.jsoup:jsoup:1.8.3'
  57. compile 'io.reactivex:rxandroid:1.0.1'
  58. compile "com.pushtorefresh.storio:sqlite:$STORIO_VERSION"
  59. compile "com.pushtorefresh.storio:sqlite-annotations:$STORIO_VERSION"
  60. compile "info.android15.nucleus:nucleus:$NUCLEUS_VERSION"
  61. compile "info.android15.nucleus:nucleus-support-v4:$NUCLEUS_VERSION"
  62. compile "info.android15.nucleus:nucleus-support-v7:$NUCLEUS_VERSION"
  63. compile 'de.greenrobot:eventbus:2.4.0'
  64. compile 'com.github.bumptech.glide:glide:3.6.1'
  65. compile 'com.jakewharton:butterknife:7.0.1'
  66. compile 'com.jakewharton.timber:timber:3.1.0'
  67. compile 'uk.co.ribot:easyadapter:1.5.0@aar'
  68. compile 'ch.acra:acra:4.6.2'
  69. compile "frankiesardo:icepick:$ICEPICK_VERSION"
  70. provided "frankiesardo:icepick-processor:$ICEPICK_VERSION"
  71. compile "com.google.dagger:dagger:$DAGGER_VERSION"
  72. apt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
  73. apt "com.pushtorefresh.storio:sqlite-annotations-processor:$STORIO_VERSION"
  74. provided 'org.glassfish:javax.annotation:10.0-b28'
  75. compile('com.mikepenz:materialdrawer:4.3.0@aar') {
  76. transitive = true
  77. }
  78. testCompile 'junit:junit:4.12'
  79. testCompile "org.hamcrest:hamcrest-core:$HAMCREST_VERSION"
  80. testCompile "org.hamcrest:hamcrest-library:$HAMCREST_VERSION"
  81. testCompile "org.hamcrest:hamcrest-integration:$HAMCREST_VERSION"
  82. testCompile "org.mockito:mockito-core:$MOCKITO_VERSION"
  83. testCompile('org.robolectric:robolectric:3.0') {
  84. exclude group: 'commons-logging', module: 'commons-logging'
  85. exclude group: 'org.apache.httpcomponents', module: 'httpclient'
  86. }
  87. androidTestApt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
  88. }