build.gradle 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'eu.davidea.grabver'
  4. versioning {
  5. major 0
  6. minor 1
  7. //preRelease "rc1"
  8. }
  9. // For maven repository
  10. version = versioning.name
  11. android {
  12. compileSdkVersion 26
  13. buildToolsVersion '26.0.2'
  14. defaultConfig {
  15. applicationId "com.nextcloud.talk"
  16. minSdkVersion 21
  17. targetSdkVersion 26
  18. versionCode 1
  19. versionName "1.0"
  20. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  21. // Enabling multidex support.
  22. multiDexEnabled true
  23. vectorDrawables.useSupportLibrary = true
  24. lintOptions {
  25. disable 'InvalidPackage'
  26. }
  27. }
  28. buildTypes {
  29. release {
  30. minifyEnabled false
  31. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  32. }
  33. }
  34. packagingOptions {
  35. exclude 'META-INF/LICENSE'
  36. exclude 'META-INF/NOTICE'
  37. exclude 'META-INF/rxjava.properties'
  38. }
  39. compileOptions {
  40. sourceCompatibility JavaVersion.VERSION_1_8
  41. targetCompatibility JavaVersion.VERSION_1_8
  42. }
  43. }
  44. ext {
  45. supportLibraryVersion = '26.1.0'
  46. }
  47. dependencies {
  48. implementation fileTree(dir: 'libs', include: ['*.jar'])
  49. implementation "com.android.support:appcompat-v7:${supportLibraryVersion}"
  50. implementation "com.android.support:design:${supportLibraryVersion}"
  51. implementation 'com.android.support:multidex:1.0.2'
  52. compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
  53. compile "io.reactivex.rxjava2:rxjava:2.1.4"
  54. implementation 'com.bluelinelabs:conductor:2.1.4'
  55. implementation 'com.bluelinelabs:conductor-support:2.1.4'
  56. implementation 'com.squareup.okhttp3:okhttp:3.8.1'
  57. implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.6.0'
  58. implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
  59. implementation 'com.bluelinelabs:logansquare:1.3.7'
  60. annotationProcessor 'com.bluelinelabs:logansquare-compiler:1.3.7'
  61. implementation 'com.squareup.retrofit2:retrofit:2.3.0'
  62. compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
  63. implementation 'com.github.aurae.retrofit2:converter-logansquare:1.4.1'
  64. implementation 'com.google.dagger:dagger:2.8'
  65. annotationProcessor 'com.google.dagger:dagger-compiler:2.8'
  66. implementation 'com.github.lukaspili.autodagger2:autodagger2:1.1'
  67. annotationProcessor 'com.github.lukaspili.autodagger2:autodagger2-compiler:1.1'
  68. implementation 'org.greenrobot:eventbus:3.0.0'
  69. compile 'io.requery:requery:1.4.0'
  70. compile 'io.requery:requery-android:1.4.0'
  71. compile 'net.zetetic:android-database-sqlcipher:3.5.7'
  72. annotationProcessor 'io.requery:requery-processor:1.4.0'
  73. compile 'org.parceler:parceler-api:1.1.9'
  74. annotationProcessor 'org.parceler:parceler:1.1.9'
  75. compile 'net.orange-box.storebox:storebox-lib:1.4.0'
  76. compileOnly "org.projectlombok:lombok:1.16.18"
  77. annotationProcessor "org.projectlombok:lombok:1.16.18"
  78. compile 'com.jakewharton:butterknife:8.8.1'
  79. annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
  80. debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.4'
  81. releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
  82. compile "javax.transaction:transaction-api:1.1-rev-1"
  83. compile 'com.github.HITGIF:TextFieldBoxes:1.3.4'
  84. compile 'eu.davidea:flexible-adapter:5.0.0-rc2'
  85. compile 'cn.carbs.android:AvatarImageView:1.0.4'
  86. compile 'com.github.bumptech.glide:glide:4.2.0'
  87. annotationProcessor 'com.github.bumptech.glide:compiler:4.2.0'
  88. compile 'com.github.bumptech.glide:okhttp3-integration:4.2.0@aar'
  89. implementation 'org.webrtc:google-webrtc:1.0.+'
  90. implementation "org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}"
  91. testImplementation 'junit:junit:4.12'
  92. androidTestImplementation ('com.android.support.test.espresso:espresso-core:3.0.1', {
  93. exclude group: 'com.android.support', module: 'support-annotations'
  94. })
  95. }