build.gradle 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.neenbedankt.android-apt'
  3. apply plugin: 'me.tatarka.retrolambda'
  4. retrolambda {
  5. jvmArgs '-noverify'
  6. }
  7. android {
  8. compileSdkVersion 23
  9. buildToolsVersion "23.0.2"
  10. publishNonDefault true
  11. defaultConfig {
  12. applicationId "eu.kanade.mangafeed"
  13. minSdkVersion 16
  14. targetSdkVersion 23
  15. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  16. versionCode 1
  17. versionName "1.0"
  18. }
  19. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_1_8
  21. targetCompatibility JavaVersion.VERSION_1_8
  22. }
  23. buildTypes {
  24. release {
  25. minifyEnabled false
  26. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  27. }
  28. }
  29. packagingOptions {
  30. exclude 'META-INF/DEPENDENCIES'
  31. exclude 'LICENSE.txt'
  32. exclude 'META-INF/LICENSE'
  33. exclude 'META-INF/LICENSE.txt'
  34. exclude 'META-INF/NOTICE'
  35. }
  36. lintOptions {
  37. abortOnError false
  38. }
  39. }
  40. dependencies {
  41. final SUPPORT_LIBRARY_VERSION = '23.1.1'
  42. final DAGGER_VERSION = '2.0.2'
  43. final HAMCREST_VERSION = '1.3'
  44. final MOCKITO_VERSION = '1.10.19'
  45. final STORIO_VERSION = '1.6.1'
  46. final NUCLEUS_VERSION = '2.0.3'
  47. final ICEPICK_VERSION = '3.1.0'
  48. compile fileTree(dir: 'libs', include: ['*.jar'])
  49. compile "com.android.support:support-v4:$SUPPORT_LIBRARY_VERSION"
  50. compile "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"
  51. compile "com.android.support:cardview-v7:$SUPPORT_LIBRARY_VERSION"
  52. compile "com.android.support:design:$SUPPORT_LIBRARY_VERSION"
  53. compile "com.android.support:recyclerview-v7:$SUPPORT_LIBRARY_VERSION"
  54. compile "com.android.support:support-annotations:$SUPPORT_LIBRARY_VERSION"
  55. compile 'com.squareup.okhttp:okhttp-urlconnection:2.6.0'
  56. compile 'com.squareup.okhttp:okhttp:2.6.0'
  57. compile 'com.squareup.okio:okio:1.6.0'
  58. compile 'com.google.code.gson:gson:2.4'
  59. compile 'com.jakewharton:disklrucache:2.0.2'
  60. compile 'org.jsoup:jsoup:1.8.3'
  61. compile 'io.reactivex:rxandroid:1.0.1'
  62. compile 'com.f2prateek.rx.preferences:rx-preferences:1.0.1'
  63. compile "com.pushtorefresh.storio:sqlite:$STORIO_VERSION"
  64. compile "com.pushtorefresh.storio:sqlite-annotations:$STORIO_VERSION"
  65. compile "info.android15.nucleus:nucleus:$NUCLEUS_VERSION"
  66. compile 'de.greenrobot:eventbus:2.4.0'
  67. compile 'com.github.bumptech.glide:glide:3.6.1'
  68. compile 'com.jakewharton:butterknife:7.0.1'
  69. compile 'com.jakewharton.timber:timber:4.1.0'
  70. compile 'uk.co.ribot:easyadapter:1.5.0@aar'
  71. compile 'ch.acra:acra:4.6.2'
  72. compile 'com.github.castorflex.verticalviewpager:library:19.0.1'
  73. compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.4.1'
  74. compile "frankiesardo:icepick:$ICEPICK_VERSION"
  75. provided "frankiesardo:icepick-processor:$ICEPICK_VERSION"
  76. compile 'com.github.dmytrodanylyk.android-process-button:library:1.0.4'
  77. compile 'eu.davidea:flexible-adapter:4.1.0@aar'
  78. compile "com.google.dagger:dagger:$DAGGER_VERSION"
  79. apt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
  80. apt "com.pushtorefresh.storio:sqlite-annotations-processor:$STORIO_VERSION"
  81. provided 'org.glassfish:javax.annotation:10.0-b28'
  82. compile('com.mikepenz:materialdrawer:4.4.8@aar') {
  83. transitive = true
  84. }
  85. testCompile 'junit:junit:4.12'
  86. testCompile "org.hamcrest:hamcrest-core:$HAMCREST_VERSION"
  87. testCompile "org.hamcrest:hamcrest-library:$HAMCREST_VERSION"
  88. testCompile "org.hamcrest:hamcrest-integration:$HAMCREST_VERSION"
  89. testCompile "org.mockito:mockito-core:$MOCKITO_VERSION"
  90. testCompile('org.robolectric:robolectric:3.0') {
  91. exclude group: 'commons-logging', module: 'commons-logging'
  92. exclude group: 'org.apache.httpcomponents', module: 'httpclient'
  93. }
  94. androidTestApt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
  95. }