build.gradle 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. apply plugin: 'kotlin-kapt'
  5. android {
  6. compileSdkVersion 27
  7. buildToolsVersion '27.0.3'
  8. defaultConfig {
  9. applicationId "me.vadik.knigopis"
  10. minSdkVersion 19
  11. targetSdkVersion 27
  12. versionCode 7
  13. versionName "0.1.6"
  14. archivesBaseName = "$applicationId-$versionName-$versionCode"
  15. vectorDrawables.useSupportLibrary = true
  16. }
  17. compileOptions {
  18. sourceCompatibility JavaVersion.VERSION_1_8
  19. targetCompatibility JavaVersion.VERSION_1_8
  20. }
  21. }
  22. dependencies {
  23. // kotlin standard library
  24. implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
  25. // support libraries
  26. implementation "com.android.support:appcompat-v7:27.0.2"
  27. implementation "com.android.support:design:27.0.2"
  28. implementation "com.android.support:support-vector-drawable:27.0.2"
  29. implementation 'com.android.support.constraint:constraint-layout:1.1.0-beta5'
  30. // rxjava
  31. implementation 'io.reactivex.rxjava2:rxjava:2.1.8'
  32. implementation 'io.reactivex.rxjava2:rxkotlin:2.2.0'
  33. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  34. implementation 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar'
  35. // retrofit & okhttp
  36. implementation "com.squareup.retrofit2:retrofit:2.3.0"
  37. implementation "com.squareup.retrofit2:adapter-rxjava2:2.3.0"
  38. implementation "com.squareup.retrofit2:converter-gson:2.3.0"
  39. implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
  40. // dagger
  41. implementation "com.google.dagger:dagger:2.14.1"
  42. kapt "com.google.dagger:dagger-compiler:2.14.1"
  43. // etc
  44. implementation 'com.github.bumptech.glide:glide:4.5.0'
  45. implementation(name: 'ulogin-sdk-v1.1', ext: 'aar')
  46. // testing
  47. testImplementation 'junit:junit:4.12'
  48. }
  49. clean {
  50. delete 'release'
  51. }