build.gradle 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 28
  6. defaultConfig {
  7. minSdkVersion 15
  8. targetSdkVersion 27
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. ext {
  21. daggerVersion = 2.12
  22. lifecycleVersion = "1.1.0"
  23. koin_version = "2.0.0"
  24. }
  25. dependencies {
  26. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  27. implementation 'com.android.support:appcompat-v7:28.0.0'
  28. implementation 'com.android.support:design:28.0.0'
  29. implementation 'com.android.support:cardview-v7:28.0.0'
  30. implementation 'com.android.support:recyclerview-v7:28.0.0'
  31. implementation 'com.android.support.constraint:constraint-layout:1.1.2'
  32. implementation "android.arch.lifecycle:extensions:$lifecycleVersion"
  33. implementation "android.arch.lifecycle:common-java8:$lifecycleVersion"
  34. androidTestImplementation 'com.android.support.test:runner:0.5'
  35. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  36. api 'io.reactivex.rxjava2:rxandroid:2.1.0'
  37. api 'io.reactivex.rxjava2:rxjava:2.2.2'
  38. // Koin for Android
  39. implementation "org.koin:koin-android:$koin_version"
  40. implementation "org.koin:koin-android-viewmodel:$koin_version"
  41. testImplementation 'junit:junit:4.12'
  42. api(name: 'kmpdfkit-1.0.8.6 2019-04-29', ext: 'aar')
  43. implementation project(path: ':KdanBaseModule')
  44. }