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 "androidx.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 'androidx.appcompat:appcompat:1.0.2'
  28. implementation 'com.google.android.material:material:1.0.0'
  29. implementation 'androidx.cardview:cardview:1.0.0'
  30. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  31. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  32. implementation "androidx.lifecycle:lifecycle-extensions:2.0.0"
  33. implementation "androidx.lifecycle:lifecycle-common-java8:2.0.0"
  34. androidTestImplementation 'androidx.test:runner:1.2.0'
  35. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  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 androidx', ext: 'aar')
  43. implementation project(path: ':KdanBaseModule')
  44. }