build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 28
  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. }
  24. dependencies {
  25. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  26. implementation 'com.android.support:appcompat-v7:28.0.0'
  27. implementation 'com.android.support:design:28.0.0'
  28. implementation 'com.android.support:cardview-v7:28.0.0'
  29. implementation 'com.android.support:recyclerview-v7:28.0.0'
  30. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  31. implementation "android.arch.lifecycle:extensions:$lifecycleVersion"
  32. implementation "android.arch.lifecycle:common-java8:$lifecycleVersion"
  33. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  34. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  35. api 'io.reactivex.rxjava2:rxandroid:2.1.0'
  36. api 'io.reactivex.rxjava2:rxjava:2.2.2'
  37. testImplementation 'junit:junit:4.12'
  38. api(name: 'kmpdfkit-1.0.7', ext: 'aar')
  39. }